|
|
@ -2,6 +2,8 @@ package com.epmet.plugin.power.dto.rent; |
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotEmpty; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
@ -26,6 +28,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 网格ID |
|
|
|
*/ |
|
|
|
@NotBlank(message = "网格信息不能为空") |
|
|
|
private String gridId; |
|
|
|
|
|
|
|
/** |
|
|
@ -36,6 +39,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 房屋小区ID |
|
|
|
*/ |
|
|
|
@NotBlank(message = "小区信息不能为空") |
|
|
|
private String villageId; |
|
|
|
|
|
|
|
/** |
|
|
@ -46,6 +50,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 楼号ID |
|
|
|
*/ |
|
|
|
@NotBlank(message = "楼栋信息不能为空") |
|
|
|
private String buildId; |
|
|
|
|
|
|
|
/** |
|
|
@ -56,6 +61,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 单元ID |
|
|
|
*/ |
|
|
|
@NotBlank(message = "单元信息不能为空") |
|
|
|
private String unitId; |
|
|
|
|
|
|
|
/** |
|
|
@ -66,6 +72,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 房屋ID |
|
|
|
*/ |
|
|
|
@NotBlank(message = "房屋信息不能为空") |
|
|
|
private String homeId; |
|
|
|
|
|
|
|
/** |
|
|
@ -76,6 +83,7 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 房主姓名 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "房主信息不能为空") |
|
|
|
private String ownerName; |
|
|
|
|
|
|
|
/** |
|
|
@ -86,36 +94,43 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 出租人姓名 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "出租人姓名不能为空") |
|
|
|
private String lessorName; |
|
|
|
|
|
|
|
/** |
|
|
|
* 出租人身份证 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "出租人身份证不能为空") |
|
|
|
private String lessorIdCard; |
|
|
|
|
|
|
|
/** |
|
|
|
* 出租人手机 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "出租人手机不能为空") |
|
|
|
private String lessorMobile; |
|
|
|
|
|
|
|
/** |
|
|
|
* 承租人姓名 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "承租人姓名不能为空") |
|
|
|
private String lesseeName; |
|
|
|
|
|
|
|
/** |
|
|
|
* 承租人身份证 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "承租人身份证不能为空") |
|
|
|
private String lesseeIdCard; |
|
|
|
|
|
|
|
/** |
|
|
|
* 承租人手机 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "承租人手机不能为空") |
|
|
|
private String lesseeMobile; |
|
|
|
|
|
|
|
/** |
|
|
|
* 签署日期 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "签订时间不能为空") |
|
|
|
private String signDate; |
|
|
|
|
|
|
|
/** |
|
|
@ -126,11 +141,13 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 合同开始日期 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "合同开始时间不能为空") |
|
|
|
private String startDate; |
|
|
|
|
|
|
|
/** |
|
|
|
* 合同结束日期 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "合同结束时间不能为空") |
|
|
|
private String endDate; |
|
|
|
|
|
|
|
/** |
|
|
@ -171,11 +188,13 @@ public class RentContractInfoDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 租客列表 |
|
|
|
*/ |
|
|
|
@NotEmpty |
|
|
|
private List<RentTenantInfoDTO> tenantList; |
|
|
|
|
|
|
|
/** |
|
|
|
* 附件列表 |
|
|
|
*/ |
|
|
|
@NotEmpty |
|
|
|
private List<RentContractFileDTO> fileList; |
|
|
|
|
|
|
|
} |