| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnore; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
| | | import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | */ |
| | | |
| | | @Data |
| | | @Schema(title = "财务对账,交易明细视图对象") |
| | | @JsonPropertyOrder({ "cashierId", "villageId", "clientNum", "districtTitle", "clientName", "phone", "operateType", "tradeAmount", "waterCost", "cardCost", "gift", "refundAmount", "paymentName", "tradeTime"}) |
| | | @HeadRowHeight(30) |
| | | @ContentRowHeight(20) |
| | | public class VoTradeDetails implements BaseEntity { |
| | | private static final long serialVersionUID = 202402012040001L; |
| | | |
| | | @Schema(title = "收银员ID") |
| | | @ExcelIgnore |
| | | private String cashierId; |
| | | |
| | | @Schema(title = "区划名称串") |
| | | private String districtTitle; |
| | | |
| | | @Schema(title = "村庄ID") |
| | | @ExcelIgnore |
| | | private String villageId; |
| | | |
| | | @Schema(title = "农户姓名") |
| | | private String clientName; |
| | | |
| | | @Schema(title = "联系电话") |
| | | private String phone; |
| | | |
| | | @Schema(title = "农户编号") |
| | | @ExcelIgnore |
| | | private String clientNum; |
| | | |
| | | @Schema(title = "业务类型") |
| | | @ExcelProperty(value = {"${title}", "村庄名称"}) |
| | | @ColumnWidth(20) |
| | | private String districtTitle; |
| | | |
| | | @ExcelProperty(value = {"${title}", "农户姓名"}) |
| | | @ColumnWidth(15) |
| | | private String clientName; |
| | | |
| | | @ExcelProperty(value = {"${title}", "联系电话"}) |
| | | @ColumnWidth(15) |
| | | private String phone; |
| | | |
| | | @ExcelProperty(value = {"${title}", "业务类型"}) |
| | | @ColumnWidth(15) |
| | | private String operateType; |
| | | |
| | | @Schema(title = "交易金额") |
| | | @ExcelProperty(value = {"${title}", "交易金额"}) |
| | | @ColumnWidth(15) |
| | | private Double tradeAmount; |
| | | |
| | | @Schema(title = "购水金额") |
| | | @ExcelProperty(value = {"${title}", "购水金额"}) |
| | | @ColumnWidth(15) |
| | | private Double waterCost; |
| | | |
| | | @Schema(title = "购卡金额") |
| | | @ExcelProperty(value = {"${title}", "购卡金额"}) |
| | | @ColumnWidth(15) |
| | | private Double cardCost; |
| | | |
| | | @Schema(title = "赠送金额") |
| | | @ExcelProperty(value = {"${title}", "赠送金额"}) |
| | | @ColumnWidth(15) |
| | | private Double gift; |
| | | |
| | | @Schema(title = "返回金额") |
| | | @ExcelProperty(value = {"${title}", "返还金额"}) |
| | | @ColumnWidth(15) |
| | | private Double refundAmount; |
| | | |
| | | @Schema(title = "付款方式") |
| | | @ExcelProperty(value = {"${title}", "付款方式"}) |
| | | @ColumnWidth(15) |
| | | private String paymentName; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @Schema(title = "交易时间") |
| | | @ExcelProperty(value = {"${title}", "交易时间"}) |
| | | @ColumnWidth(20) |
| | | private Date tradeTime; |
| | | |
| | | } |