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 ff69df5..13e8615 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 @@ -1,5 +1,7 @@ package com.cm.common.pojo.bos; +import io.swagger.annotations.ApiModelProperty; + import java.io.Serializable; /** @@ -16,6 +18,16 @@ public class DepartmentBO implements Serializable { private String departmentName; private String departmentCode; private String departmentSummary; + private String departmentArea1Code; + private String departmentArea1Name; + private String departmentArea2Code; + private String departmentArea2Name; + private String departmentArea3Code; + private String departmentArea3Name; + private String departmentArea4Code; + private String departmentArea4Name; + private String departmentArea5Code; + private String departmentArea5Name; public String getDepartmentId() { return departmentId == null ? "" : departmentId.trim(); @@ -49,17 +61,117 @@ public class DepartmentBO implements Serializable { this.departmentSummary = departmentSummary; } + public String getDepartmentArea1Code() { + return departmentArea1Code == null ? "" : departmentArea1Code; + } + + public void setDepartmentArea1Code(String departmentArea1Code) { + this.departmentArea1Code = departmentArea1Code; + } + + public String getDepartmentArea1Name() { + return departmentArea1Name == null ? "" : departmentArea1Name; + } + + public void setDepartmentArea1Name(String departmentArea1Name) { + this.departmentArea1Name = departmentArea1Name; + } + + public String getDepartmentArea2Code() { + return departmentArea2Code == null ? "" : departmentArea2Code; + } + + public void setDepartmentArea2Code(String departmentArea2Code) { + this.departmentArea2Code = departmentArea2Code; + } + + public String getDepartmentArea2Name() { + return departmentArea2Name == null ? "" : departmentArea2Name; + } + + public void setDepartmentArea2Name(String departmentArea2Name) { + this.departmentArea2Name = departmentArea2Name; + } + + public String getDepartmentArea3Code() { + return departmentArea3Code == null ? "" : departmentArea3Code; + } + + public void setDepartmentArea3Code(String departmentArea3Code) { + this.departmentArea3Code = departmentArea3Code; + } + + public String getDepartmentArea3Name() { + return departmentArea3Name == null ? "" : departmentArea3Name; + } + + public void setDepartmentArea3Name(String departmentArea3Name) { + this.departmentArea3Name = departmentArea3Name; + } + + public String getDepartmentArea4Code() { + return departmentArea4Code == null ? "" : departmentArea4Code; + } + + public void setDepartmentArea4Code(String departmentArea4Code) { + this.departmentArea4Code = departmentArea4Code; + } + + public String getDepartmentArea4Name() { + return departmentArea4Name == null ? "" : departmentArea4Name; + } + + public void setDepartmentArea4Name(String departmentArea4Name) { + this.departmentArea4Name = departmentArea4Name; + } + + public String getDepartmentArea5Code() { + return departmentArea5Code == null ? "" : departmentArea5Code; + } + + public void setDepartmentArea5Code(String departmentArea5Code) { + this.departmentArea5Code = departmentArea5Code; + } + + public String getDepartmentArea5Name() { + return departmentArea5Name == null ? "" : departmentArea5Name; + } + + public void setDepartmentArea5Name(String departmentArea5Name) { + this.departmentArea5Name = departmentArea5Name; + } + @Override public String toString() { final StringBuilder sb = new StringBuilder("{"); - sb.append("\"departmentId\":") - .append("\"").append(departmentId).append("\""); - sb.append(",\"departmentName\":") - .append("\"").append(departmentName).append("\""); - sb.append(",\"departmentCode\":") - .append("\"").append(departmentCode).append("\""); - sb.append(",\"departmentSummary\":") - .append("\"").append(departmentSummary).append("\""); + sb.append("\"departmentId\":\"") + .append(departmentId).append('\"'); + sb.append(",\"departmentName\":\"") + .append(departmentName).append('\"'); + sb.append(",\"departmentCode\":\"") + .append(departmentCode).append('\"'); + sb.append(",\"departmentSummary\":\"") + .append(departmentSummary).append('\"'); + sb.append(",\"departmentArea1Code\":\"") + .append(departmentArea1Code).append('\"'); + sb.append(",\"departmentArea1Name\":\"") + .append(departmentArea1Name).append('\"'); + sb.append(",\"departmentArea2Code\":\"") + .append(departmentArea2Code).append('\"'); + sb.append(",\"departmentArea2Name\":\"") + .append(departmentArea2Name).append('\"'); + sb.append(",\"departmentArea3Code\":\"") + .append(departmentArea3Code).append('\"'); + sb.append(",\"departmentArea3Name\":\"") + .append(departmentArea3Name).append('\"'); + sb.append(",\"departmentArea4Code\":\"") + .append(departmentArea4Code).append('\"'); + sb.append(",\"departmentArea4Name\":\"") + .append(departmentArea4Name).append('\"'); + sb.append(",\"departmentArea5Code\":\"") + .append(departmentArea5Code).append('\"'); + sb.append(",\"departmentArea5Name\":\"") + .append(departmentArea5Name).append('\"'); sb.append('}'); return sb.toString(); }