diff --git a/cloud-common/src/main/java/com/cm/common/pojo/bos/DepartmentBO.java b/cloud-common/src/main/java/com/cm/common/pojo/bos/DepartmentBO.java index 13e8615..281ba1e 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/bos/DepartmentBO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/bos/DepartmentBO.java @@ -18,17 +18,23 @@ public class DepartmentBO implements Serializable { private String departmentName; private String departmentCode; private String departmentSummary; + private String departmentArea1Id; private String departmentArea1Code; private String departmentArea1Name; + private String departmentArea2Id; private String departmentArea2Code; private String departmentArea2Name; + private String departmentArea3Id; private String departmentArea3Code; private String departmentArea3Name; + private String departmentArea4Id; private String departmentArea4Code; private String departmentArea4Name; + private String departmentArea5Id; private String departmentArea5Code; private String departmentArea5Name; + public String getDepartmentId() { return departmentId == null ? "" : departmentId.trim(); } @@ -61,8 +67,16 @@ public class DepartmentBO implements Serializable { this.departmentSummary = departmentSummary; } + public String getDepartmentArea1Id() { + return departmentArea1Id == null ? "" : departmentArea1Id.trim(); + } + + public void setDepartmentArea1Id(String departmentArea1Id) { + this.departmentArea1Id = departmentArea1Id; + } + public String getDepartmentArea1Code() { - return departmentArea1Code == null ? "" : departmentArea1Code; + return departmentArea1Code == null ? "" : departmentArea1Code.trim(); } public void setDepartmentArea1Code(String departmentArea1Code) { @@ -70,15 +84,23 @@ public class DepartmentBO implements Serializable { } public String getDepartmentArea1Name() { - return departmentArea1Name == null ? "" : departmentArea1Name; + return departmentArea1Name == null ? "" : departmentArea1Name.trim(); } public void setDepartmentArea1Name(String departmentArea1Name) { this.departmentArea1Name = departmentArea1Name; } + public String getDepartmentArea2Id() { + return departmentArea2Id == null ? "" : departmentArea2Id.trim(); + } + + public void setDepartmentArea2Id(String departmentArea2Id) { + this.departmentArea2Id = departmentArea2Id; + } + public String getDepartmentArea2Code() { - return departmentArea2Code == null ? "" : departmentArea2Code; + return departmentArea2Code == null ? "" : departmentArea2Code.trim(); } public void setDepartmentArea2Code(String departmentArea2Code) { @@ -86,15 +108,23 @@ public class DepartmentBO implements Serializable { } public String getDepartmentArea2Name() { - return departmentArea2Name == null ? "" : departmentArea2Name; + return departmentArea2Name == null ? "" : departmentArea2Name.trim(); } public void setDepartmentArea2Name(String departmentArea2Name) { this.departmentArea2Name = departmentArea2Name; } + public String getDepartmentArea3Id() { + return departmentArea3Id == null ? "" : departmentArea3Id.trim(); + } + + public void setDepartmentArea3Id(String departmentArea3Id) { + this.departmentArea3Id = departmentArea3Id; + } + public String getDepartmentArea3Code() { - return departmentArea3Code == null ? "" : departmentArea3Code; + return departmentArea3Code == null ? "" : departmentArea3Code.trim(); } public void setDepartmentArea3Code(String departmentArea3Code) { @@ -102,15 +132,23 @@ public class DepartmentBO implements Serializable { } public String getDepartmentArea3Name() { - return departmentArea3Name == null ? "" : departmentArea3Name; + return departmentArea3Name == null ? "" : departmentArea3Name.trim(); } public void setDepartmentArea3Name(String departmentArea3Name) { this.departmentArea3Name = departmentArea3Name; } + public String getDepartmentArea4Id() { + return departmentArea4Id == null ? "" : departmentArea4Id.trim(); + } + + public void setDepartmentArea4Id(String departmentArea4Id) { + this.departmentArea4Id = departmentArea4Id; + } + public String getDepartmentArea4Code() { - return departmentArea4Code == null ? "" : departmentArea4Code; + return departmentArea4Code == null ? "" : departmentArea4Code.trim(); } public void setDepartmentArea4Code(String departmentArea4Code) { @@ -118,15 +156,23 @@ public class DepartmentBO implements Serializable { } public String getDepartmentArea4Name() { - return departmentArea4Name == null ? "" : departmentArea4Name; + return departmentArea4Name == null ? "" : departmentArea4Name.trim(); } public void setDepartmentArea4Name(String departmentArea4Name) { this.departmentArea4Name = departmentArea4Name; } + public String getDepartmentArea5Id() { + return departmentArea5Id == null ? "" : departmentArea5Id.trim(); + } + + public void setDepartmentArea5Id(String departmentArea5Id) { + this.departmentArea5Id = departmentArea5Id; + } + public String getDepartmentArea5Code() { - return departmentArea5Code == null ? "" : departmentArea5Code; + return departmentArea5Code == null ? "" : departmentArea5Code.trim(); } public void setDepartmentArea5Code(String departmentArea5Code) { @@ -134,7 +180,7 @@ public class DepartmentBO implements Serializable { } public String getDepartmentArea5Name() { - return departmentArea5Name == null ? "" : departmentArea5Name; + return departmentArea5Name == null ? "" : departmentArea5Name.trim(); } public void setDepartmentArea5Name(String departmentArea5Name) { @@ -152,22 +198,32 @@ public class DepartmentBO implements Serializable { .append(departmentCode).append('\"'); sb.append(",\"departmentSummary\":\"") .append(departmentSummary).append('\"'); + sb.append(",\"departmentArea1Id\":\"") + .append(departmentArea1Id).append('\"'); sb.append(",\"departmentArea1Code\":\"") .append(departmentArea1Code).append('\"'); sb.append(",\"departmentArea1Name\":\"") .append(departmentArea1Name).append('\"'); + sb.append(",\"departmentArea2Id\":\"") + .append(departmentArea2Id).append('\"'); sb.append(",\"departmentArea2Code\":\"") .append(departmentArea2Code).append('\"'); sb.append(",\"departmentArea2Name\":\"") .append(departmentArea2Name).append('\"'); + sb.append(",\"departmentArea3Id\":\"") + .append(departmentArea3Id).append('\"'); sb.append(",\"departmentArea3Code\":\"") .append(departmentArea3Code).append('\"'); sb.append(",\"departmentArea3Name\":\"") .append(departmentArea3Name).append('\"'); + sb.append(",\"departmentArea4Id\":\"") + .append(departmentArea4Id).append('\"'); sb.append(",\"departmentArea4Code\":\"") .append(departmentArea4Code).append('\"'); sb.append(",\"departmentArea4Name\":\"") .append(departmentArea4Name).append('\"'); + sb.append(",\"departmentArea5Id\":\"") + .append(departmentArea5Id).append('\"'); sb.append(",\"departmentArea5Code\":\"") .append(departmentArea5Code).append('\"'); sb.append(",\"departmentArea5Name\":\"")