| package com.dy.pipIrrGlobal.voSt; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
| import lombok.Data; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-09-13 16:14 | 
|  * @LastEditTime 2024-09-13 16:14 | 
|  * @Description 水卡使用统计视图 | 
|  */ | 
|   | 
| @Data | 
| @JsonPropertyOrder({ "clientName", "cardNum", "totalRecharge", "totalConsumption", "balance"}) | 
| public class VoCardUsage { | 
|     private static final long serialVersionUID = 202409131615001L; | 
|   | 
|     /** | 
|      * 农户姓名 | 
|      */ | 
|     private String clientName; | 
|   | 
|     /** | 
|      * 水卡编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long cardNum; | 
|   | 
|     /** | 
|      * 充值金额合计 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float totalRecharge; | 
|   | 
|     /** | 
|      * 消费金额合计 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float totalConsumption; | 
|   | 
|     /** | 
|      * 余额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float balance; | 
| } |