|
@@ -13,6 +13,7 @@ import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
|
+import org.assertj.core.util.Lists;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author lixing
|
|
* @author lixing
|
|
@@ -128,7 +129,39 @@ public class ResponsePersonItemVO {
|
|
@ApiModelProperty("启用状态")
|
|
@ApiModelProperty("启用状态")
|
|
private String enableState;
|
|
private String enableState;
|
|
|
|
|
|
|
|
+ public SimpleObjVO getPersonTypeVO() {
|
|
|
|
+ return personTypeVO == null ? new SimpleObjVO() : personTypeVO;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public SimpleObjVO getCertificateTypeVO() {
|
|
|
|
+ return certificateTypeVO == null ? new SimpleObjVO() : certificateTypeVO;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<DepSimpleObjVO> getDeps() {
|
|
|
|
+ return deps == null ? Lists.newArrayList() : deps;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<SimpleObjVO> getProjects() {
|
|
|
|
+ return projects == null ? Lists.newArrayList() : projects;
|
|
|
|
+ }
|
|
|
|
+
|
|
public SimpleObjVO getMainDuty() {
|
|
public SimpleObjVO getMainDuty() {
|
|
- return mainDuty == null ? new SimpleObjVO("", "") : mainDuty;
|
|
|
|
|
|
+ return mainDuty == null ? new SimpleObjVO() : mainDuty;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<SimpleObjVO> getOtherDuties() {
|
|
|
|
+ return otherDuties == null ? Lists.newArrayList() : otherDuties;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public SimpleObjVO getLeaderVO() {
|
|
|
|
+ return leaderVO == null ? new SimpleObjVO() : leaderVO;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<SimpleObjVO> getProfessions() {
|
|
|
|
+ return professions == null ? Lists.newArrayList() : professions;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public List<SimpleObjVO> getOtherRoles() {
|
|
|
|
+ return otherRoles == null ? Lists.newArrayList() : otherRoles;
|
|
}
|
|
}
|
|
}
|
|
}
|