7 changed files with 267 additions and 2 deletions
@ -0,0 +1,41 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/3/18 19:00 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CollectListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2106773724057183577L; |
||||
|
|
||||
|
public interface CollectListForm{} |
||||
|
|
||||
|
@NotNull(message = "pageNo不能为空", groups = CollectListForm.class) |
||||
|
private Integer pageNo; |
||||
|
|
||||
|
@NotNull(message = "pageSize不能为空", groups = CollectListForm.class) |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
private String orgId; |
||||
|
private String neighborHoodId; |
||||
|
private String buildingId; |
||||
|
private String houseId; |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 格式:yyyy-mm-dd |
||||
|
*/ |
||||
|
private String startDate; |
||||
|
private String endDate; |
||||
|
|
||||
|
private String userId; |
||||
|
private String customerId; |
||||
|
|
||||
|
} |
@ -0,0 +1,88 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/3/18 19:00 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CollectListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -6692672375850864451L; |
||||
|
|
||||
|
/** |
||||
|
* 户主姓名 |
||||
|
*/ |
||||
|
private String houseHolderName; |
||||
|
|
||||
|
@JsonIgnore |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 居住地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 房屋类型,1:自有, 0:租住 |
||||
|
*/ |
||||
|
private Integer houseType; |
||||
|
|
||||
|
/** |
||||
|
* 居住人数 |
||||
|
*/ |
||||
|
private Integer totalResi; |
||||
|
|
||||
|
private List<CollectListMemberResultDTO> list; |
||||
|
|
||||
|
public CollectListResultDTO() { |
||||
|
this.houseHolderName = ""; |
||||
|
this.address = ""; |
||||
|
this.houseType = 0; |
||||
|
this.totalResi = 0; |
||||
|
this.list = new ArrayList<>(); |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class CollectListMemberResultDTO{ |
||||
|
/** |
||||
|
* 成员名字 |
||||
|
*/ |
||||
|
private String memberName; |
||||
|
|
||||
|
/** |
||||
|
* 成员身份证 |
||||
|
*/ |
||||
|
private String memberIdNum; |
||||
|
|
||||
|
/** |
||||
|
* 成员电话 |
||||
|
*/ |
||||
|
private String memberMobile; |
||||
|
|
||||
|
/** |
||||
|
* 核酸检测次数 |
||||
|
*/ |
||||
|
private Integer heSuanCount; |
||||
|
|
||||
|
/** |
||||
|
* 疫苗是否全程接种,1:全程接种,2:未全程接种,3:为接种 |
||||
|
*/ |
||||
|
private Integer ymjz; |
||||
|
|
||||
|
public CollectListMemberResultDTO() { |
||||
|
this.memberName = ""; |
||||
|
this.memberIdNum = ""; |
||||
|
this.memberMobile = ""; |
||||
|
this.heSuanCount = 0; |
||||
|
this.ymjz = 0; |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue