package com.dy.pipIrrGlobal.voSe; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; 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 @Schema(title = "收据视图对象") public class VoReceipt { private static final long serialVersionUID = 202402011037001L; @Schema(title = "收银员ID") private String cashierId; @Schema(title = "订单号") private String 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; @Schema(title = "水卡编号") private String cardNum; @Schema(title = "业务类型") private String operateType; @Schema(title = "购水金额") private Double waterCost; @Schema(title = "购卡金额") private Double cardCost; @Schema(title = "收费金额") private Double amount; @Schema(title = "水卡余额") 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; }