package com.dy.pipIrrGlobal.voSt;
|
|
import com.alibaba.fastjson2.annotation.JSONField;
|
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-08-06 9:45
|
* @LastEditTime 2024-08-06 9:45
|
* @Description 农户视图对象
|
*/
|
|
@Data
|
public class VoClient {
|
private static final long serialVersionUID = 202408060947001L;
|
|
/**
|
* 农户ID
|
*/
|
@JSONField(serializeUsing= ObjectWriterImplToString.class)
|
private Long clientId;
|
|
/**
|
* 农户姓名
|
*/
|
private String clientName;
|
|
/**
|
* 农户编号
|
*/
|
private String clientNum;
|
|
/**
|
* 农户地址
|
*/
|
private String address;
|
|
/**
|
* 手机号
|
*/
|
private String phone;
|
|
/**
|
* 身份证号
|
*/
|
private String idCard;
|
|
/**
|
* 开阀次数
|
*/
|
private Integer openCount;
|
|
/**
|
* 用水量
|
*/
|
@JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" )
|
private Double waterConsumption;
|
|
/**
|
* 消费金额
|
*/
|
@JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" )
|
private Double amountSpent;
|
|
/**
|
* 用水时长
|
*/
|
@JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" )
|
private Double waterDuration;
|
|
|
}
|