| package com.dy.pipIrrGlobal.voSe; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.dy.common.po.BaseEntity; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import lombok.Data; | 
| import org.springframework.format.annotation.DateTimeFormat; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2023/12/22 11:43 | 
|  * @LastEditTime 2023/12/22 11:43 | 
|  * @Description 农户视图对象 | 
|  */ | 
|   | 
| @Data | 
| @JsonPropertyOrder({"countyId","countryName","townId","townName","villageId","villageName","blockId","blockName","divideId","divideName","typeId","waterTypeName","clientId","name","clientNum","phone","idCard","area","cardCount","address","remarks","operateDt"}) | 
| public class VoClient implements BaseEntity { | 
|     private static final long serialVersionUID = 202410282047001L; | 
|   | 
|   | 
|     /** | 
|      * 县ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long countyId; | 
|   | 
|     /** | 
|      * 县名称 | 
|      */ | 
|     private String countryName; | 
|   | 
|     /** | 
|      * 镇ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long townId; | 
|   | 
|     /** | 
|      * 镇名称 | 
|      */ | 
|     private String townName; | 
|   | 
|     /** | 
|      * 村ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long villageId; | 
|   | 
|     /** | 
|      * 村名称 | 
|      */ | 
|     private String villageName; | 
|   | 
|     /** | 
|      * 片区ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long blockId; | 
|   | 
|     /** | 
|      * 片区名称 | 
|      */ | 
|     private String blockName; | 
|   | 
|     /** | 
|      * 分水房ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long divideId; | 
|   | 
|     /** | 
|      * 分水房名称 | 
|      */ | 
|     private String divideName; | 
|   | 
|     /** | 
|      * 用户类型ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long typeId; | 
|   | 
|     /** | 
|      * 用户类型名称 | 
|      */ | 
|     private String waterTypeName; | 
|   | 
|     /** | 
|      * 农户ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long clientId; | 
|   | 
|     /** | 
|      * 农户姓名 | 
|      */ | 
|     private String name; | 
|   | 
|     /** | 
|      * 农户编号 | 
|      */ | 
|     private String clientNum; | 
|   | 
|     /** | 
|      * 手机号 | 
|      */ | 
|     private String phone; | 
|   | 
|     /** | 
|      * 身份证号 | 
|      */ | 
|     private String idCard; | 
|   | 
|     /** | 
|      * 种植面积 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double area; | 
|   | 
|     /** | 
|      * 卡片数量 | 
|      */ | 
|     private Integer cardCount; | 
|   | 
|     /** | 
|      * 地址 | 
|      */ | 
|     private String address; | 
|   | 
|     /** | 
|      * 备注 | 
|      */ | 
|     private String remarks; | 
|   | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     @Schema(title = "注册时间") | 
|     private Date operateDt; | 
| } |