package com.hfkj.model.order.orderExport;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
  * @ClassName OrderGoodsExportModel
  * @Author Sum1Dream
  * @Description 实物订单导出
  * @Date 2024/8/12 下午5:07
 **/
@Data
public class OrderGoodsExportModel {

    @ColumnWidth(50)
    @ExcelProperty("商品名称")
    public String goodsName;

    @ColumnWidth(20)
    @ExcelProperty("商户名称")
    public String merName;

    @ColumnWidth(20)
    @ExcelProperty("类型名称")
    public String goodsTypeName;

    @ColumnWidth(20)
    @ExcelProperty("品牌名称")
    public String goodsBrandName;

    @ColumnWidth(20)
    @ExcelProperty("用户手机号")
    public String userPhone;

    @ColumnWidth(40)
    @ExcelProperty("订单号")
    public String orderNo;

    @ColumnWidth(15)
    @ExcelProperty("子订单号")
    public String childOrderNo;

    @ColumnWidth(20)
    @ExcelProperty("物流单号")
    public String logisticsNo;

    @ColumnWidth(30)
    @ExcelProperty("商品规格")
    public String goodsSpecsName;

    @ColumnWidth(20)
    @ExcelProperty("商品价格")
    public BigDecimal goodsPrice;

    @ColumnWidth(20)
    @ExcelProperty("购买数量")
    public Integer goodsCount;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "订单金额"})
    public BigDecimal totalPrice;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "总优惠"})
    public BigDecimal totalDeductionPrice;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "优惠券优惠"})
    public BigDecimal couponDiscountPrice;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "积分抵扣"})
    public BigDecimal integralDiscountPrice;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "实付金额"})
    public BigDecimal payRealPrice;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "支付渠道"})
    public String payChannel;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "支付方式"})
    public String payType;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "支付单号"})
    public String paySerialNo;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "交易状态"})
    public String tradeStatus;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "创建时间"})
    public Date createTime;

    @ColumnWidth(20)
    @ExcelProperty({"交易信息", "支付时间"})
    public Date payTime;

    @ColumnWidth(20)
    @ExcelProperty("物流状态")
    public String logisticsStatusDesc;

    @ColumnWidth(20)
    @ExcelProperty("更新时间")
    public Date updateTime;

    @ColumnWidth(20)
    @ExcelProperty("确认收货时间")
    public Date finishTime;


}
