| package com.dy.pipIrrGlobal.voSe; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import lombok.Data; | 
| import org.springframework.format.annotation.DateTimeFormat; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-02-01 10:36 | 
|  * @LastEditTime 2024-02-01 10:36 | 
|  * @Description 收据视图对象 | 
|  */ | 
|   | 
| @Data | 
| public class VoReceipt { | 
|     private static final long serialVersionUID = 202402011037001L; | 
|   | 
|     /** | 
|      * 收银员ID | 
|      */ | 
|     private String cashierId; | 
|   | 
|     /** | 
|      * 订单号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long orderNumber; | 
|   | 
|     /** | 
|      * 镇名称 | 
|      */ | 
|     private String townName; | 
|   | 
|     /** | 
|      * 村名称 | 
|      */ | 
|     private String villageName; | 
|   | 
|     /** | 
|      * 农户姓名 | 
|      */ | 
|     private String name; | 
|   | 
|     /** | 
|      * 电话 | 
|      */ | 
|     private String phone; | 
|   | 
|     /** | 
|      * 农户编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long clientNum; | 
|   | 
|     /** | 
|      * 水卡编号 | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long cardNum; | 
|   | 
|     /** | 
|      * 业务类型 | 
|      */ | 
|     private String operateType; | 
|   | 
|     /** | 
|      * 购水金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterCost; | 
|   | 
|     /** | 
|      * 赠送金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double gift; | 
|   | 
|     /** | 
|      * 购卡金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double cardCost; | 
|   | 
|     /** | 
|      * 收费金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double amount; | 
|   | 
|     /** | 
|      * 水卡余额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double money; | 
|   | 
|     /** | 
|      * 支付方式 | 
|      */ | 
|     private String paymentName; | 
|   | 
|     /** | 
|      * 操作人 | 
|      */ | 
|     private String operatorName; | 
|   | 
|     /** | 
|      * 操作时间 | 
|      */ | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     private Date operateTime; | 
|   | 
|     /** | 
|      * 当前时间 | 
|      */ | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     private Date currentTime; | 
| } |