package com.ruoyi.system.export; import cn.afterturn.easypoi.excel.annotation.Excel; import io.swagger.annotations.ApiModel; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; @Data @ApiModel(value = "销售订单导出Excel") public class TOrderSaleExportExcel implements Serializable { @Excel(width = 30,name = "订单编号") private String orderNum; @Excel(width = 30,name = "开台日期") private String createStrTime; @Excel(width = 30,name = "订单金额",isStatistics = true) private BigDecimal orderMoney; @Excel(width = 30,name = "支付金额",isStatistics = true) private BigDecimal payMoney; @Excel(width = 30,name = "支付方式",replace = {"现金_1","支付宝_2","微信_3","银行卡_4","其他_5"," _null"}) private Integer payType; @Excel(width = 30,name = "货品数量") private Integer goodsCount; @Excel(width = 30,name = "货品总价",isStatistics = true) private BigDecimal goodsAmount; @Excel(width = 30,name = "支付状态",replace = {"待付款_1","已付款_2"}) private Integer status; }