组织部门地区

This commit is contained in:
wenc000 2020-06-02 19:43:11 +08:00
parent 3d48b26f2e
commit 14691f59b7

View File

@ -1,5 +1,7 @@
package com.cm.common.pojo.bos; package com.cm.common.pojo.bos;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -16,6 +18,16 @@ public class DepartmentBO implements Serializable {
private String departmentName; private String departmentName;
private String departmentCode; private String departmentCode;
private String departmentSummary; 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() { public String getDepartmentId() {
return departmentId == null ? "" : departmentId.trim(); return departmentId == null ? "" : departmentId.trim();
@ -49,17 +61,117 @@ public class DepartmentBO implements Serializable {
this.departmentSummary = departmentSummary; 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 @Override
public String toString() { public String toString() {
final StringBuilder sb = new StringBuilder("{"); final StringBuilder sb = new StringBuilder("{");
sb.append("\"departmentId\":") sb.append("\"departmentId\":\"")
.append("\"").append(departmentId).append("\""); .append(departmentId).append('\"');
sb.append(",\"departmentName\":") sb.append(",\"departmentName\":\"")
.append("\"").append(departmentName).append("\""); .append(departmentName).append('\"');
sb.append(",\"departmentCode\":") sb.append(",\"departmentCode\":\"")
.append("\"").append(departmentCode).append("\""); .append(departmentCode).append('\"');
sb.append(",\"departmentSummary\":") sb.append(",\"departmentSummary\":\"")
.append("\"").append(departmentSummary).append("\""); .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('}'); sb.append('}');
return sb.toString(); return sb.toString();
} }