| 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 lombok.Data; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-01-22 18:27 | 
|  * @LastEditTime 2024-01-22 18:27 | 
|  * @Description 交易记录汇总视图对象 | 
|  */ | 
|   | 
| @Data | 
| public class VoTransactionStatistics implements BaseEntity { | 
|     private static final long serialVersionUID = 202401241705001L; | 
|   | 
|     /** | 
|      * 业务类型 | 
|      */ | 
|     private String operateType; | 
|   | 
|     /** | 
|      * 交易日期 | 
|      */ | 
|     private String tradeDate; | 
|   | 
|     /** | 
|      * 交易笔数 | 
|      */ | 
|     private Integer count; | 
|   | 
|     /** | 
|      * 实收金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float received; | 
|   | 
|     /** | 
|      * 赠送金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float gift; | 
|   | 
|     /** | 
|      * 返还金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Float refundAmount; | 
|   | 
|     /** | 
|      * 收银员ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long cashierId; | 
| } |