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