yonge 5 år sedan
förälder
incheckning
5ae06f99f1
1 ändrade filer med 6 tillägg och 14 borttagningar
  1. 6 14
      mec-biz/src/main/java/com/ym/mec/biz/dal/entity/EmployeeInfo.java

+ 6 - 14
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/EmployeeInfo.java

@@ -31,7 +31,7 @@ public class EmployeeInfo {
 	private Integer age;
 
 	@ApiModelProperty(value = "性别", required = false)
-	private boolean gender;
+	private Boolean gender;
 
 	@ApiModelProperty(value = "出生年月日", required = false)
 	private java.util.Date birthdate;
@@ -80,7 +80,7 @@ public class EmployeeInfo {
 	private StaffStatusEnum status;
 
 	@ApiModelProperty(value = "是否是试用期", required = false)
-	private boolean isProbationPeriod;
+	private Boolean isProbationPeriod;
 
 	@ApiModelProperty(value = "银行卡号", required = false)
 	private String bankCardNo;
@@ -153,11 +153,11 @@ public class EmployeeInfo {
 		return this.age;
 	}
 
-	public void setGender(boolean gender) {
+	public void setGender(Boolean gender) {
 		this.gender = gender;
 	}
 
-	public boolean isGender() {
+	public Boolean getGender() {
 		return this.gender;
 	}
 
@@ -257,14 +257,6 @@ public class EmployeeInfo {
 		this.organId = organId;
 	}
 
-	public boolean isProbationPeriod() {
-		return isProbationPeriod;
-	}
-
-	public void setProbationPeriod(boolean isProbationPeriod) {
-		this.isProbationPeriod = isProbationPeriod;
-	}
-
 	public void setPosition(JobTypeEnum position) {
 		this.position = position;
 	}
@@ -281,11 +273,11 @@ public class EmployeeInfo {
 		this.status = status;
 	}
 
-	public void setIsProbationPeriod(boolean isProbationPeriod) {
+	public void setIsProbationPeriod(Boolean isProbationPeriod) {
 		this.isProbationPeriod = isProbationPeriod;
 	}
 
-	public boolean isIsProbationPeriod() {
+	public boolean getIsProbationPeriod() {
 		return this.isProbationPeriod;
 	}