|
@@ -1,7 +1,5 @@
|
|
|
package com.ruoyi.common.core.domain.entity;
|
|
|
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
|
@@ -21,6 +19,10 @@ public class ResidentInfo extends BaseEntity
|
|
|
/** 关联房屋信息表的house_id,标识居住人员所属房屋 */
|
|
|
@Excel(name = "关联房屋信息表的house_id,标识居住人员所属房屋")
|
|
|
private Long houseId;
|
|
|
+ /**
|
|
|
+ * 房屋状态:1-自住,2-空闲,3-待售空闲,4-出租
|
|
|
+ */
|
|
|
+ private Long houseStatus;
|
|
|
|
|
|
/** 关联sys_user表中user_id */
|
|
|
@Excel(name = "关联sys_user表中user_id")
|
|
@@ -94,7 +96,15 @@ public class ResidentInfo extends BaseEntity
|
|
|
@Excel(name = "人脸地址")
|
|
|
private String facePhoto;
|
|
|
|
|
|
- public void setResidentId(Long residentId)
|
|
|
+ public Long getHouseStatus() {
|
|
|
+ return houseStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHouseStatus(Long houseStatus) {
|
|
|
+ this.houseStatus = houseStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setResidentId(Long residentId)
|
|
|
{
|
|
|
this.residentId = residentId;
|
|
|
}
|
|
@@ -277,32 +287,28 @@ public class ResidentInfo extends BaseEntity
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("residentId", getResidentId())
|
|
|
- .append("houseId", getHouseId())
|
|
|
- .append("userId", getUserId())
|
|
|
- .append("detailedAddress", getDetailedAddress())
|
|
|
- .append("residentName", getResidentName())
|
|
|
- .append("residentIdCard", getResidentIdCard())
|
|
|
- .append("residentBirthday", getResidentBirthday())
|
|
|
- .append("residentPhone", getResidentPhone())
|
|
|
- .append("residentGender", getResidentGender())
|
|
|
- .append("residentRelationship", getResidentRelationship())
|
|
|
- .append("isHouseholder", getIsHouseholder())
|
|
|
- .append("isTenant", getIsTenant())
|
|
|
- .append("residentEmployer", getResidentEmployer())
|
|
|
- .append("specialType", getSpecialType())
|
|
|
- .append("residentHobby", getResidentHobby())
|
|
|
- .append("residentAppearance", getResidentAppearance())
|
|
|
- .append("idCardFront", getIdCardFront())
|
|
|
- .append("idCardBack", getIdCardBack())
|
|
|
- .append("idCardAddress", getIdCardAddress())
|
|
|
- .append("facePhoto", getFacePhoto())
|
|
|
- .append("createBy", getCreateBy())
|
|
|
- .append("createTime", getCreateTime())
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
- .append("remark", getRemark())
|
|
|
- .toString();
|
|
|
+ return "ResidentInfo{" +
|
|
|
+ "residentId=" + residentId +
|
|
|
+ ", houseId=" + houseId +
|
|
|
+ ", houseStatus=" + houseStatus +
|
|
|
+ ", userId=" + userId +
|
|
|
+ ", detailedAddress='" + detailedAddress + '\'' +
|
|
|
+ ", residentName='" + residentName + '\'' +
|
|
|
+ ", residentIdCard='" + residentIdCard + '\'' +
|
|
|
+ ", residentBirthday='" + residentBirthday + '\'' +
|
|
|
+ ", residentPhone='" + residentPhone + '\'' +
|
|
|
+ ", residentGender=" + residentGender +
|
|
|
+ ", residentRelationship='" + residentRelationship + '\'' +
|
|
|
+ ", isHouseholder='" + isHouseholder + '\'' +
|
|
|
+ ", isTenant='" + isTenant + '\'' +
|
|
|
+ ", residentEmployer='" + residentEmployer + '\'' +
|
|
|
+ ", specialType='" + specialType + '\'' +
|
|
|
+ ", residentHobby='" + residentHobby + '\'' +
|
|
|
+ ", residentAppearance='" + residentAppearance + '\'' +
|
|
|
+ ", idCardFront='" + idCardFront + '\'' +
|
|
|
+ ", idCardBack='" + idCardBack + '\'' +
|
|
|
+ ", idCardAddress='" + idCardAddress + '\'' +
|
|
|
+ ", facePhoto='" + facePhoto + '\'' +
|
|
|
+ '}';
|
|
|
}
|
|
|
}
|