package com.hai.order.model;

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: OrderCouponModel
 * @author: HuRui
 * @date: 2022/9/30
 **/
@Data
public class OrderCouponModel {

    @ColumnWidth(25)
    @ExcelProperty(value = "分公司")
    private String companyName;

    @ColumnWidth(25)
    @ExcelProperty(value = "交易订单号")
    private String orderNo;

    @ColumnWidth(15)
    @ExcelProperty(value = "客户电话")
    private String memPhone;

    @ColumnWidth(20)
    @ExcelProperty(value = "卡券编号")
    private String couponKey;

    @ColumnWidth(30)
    @ExcelProperty(value = "卡券名称")
    private String couponName;

    @ColumnWidth(13)
    @ExcelProperty(value = "卡券面值")
    private String couponPrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "卡券来源")
    private String couponSource;

    @ColumnWidth(13)
    @ExcelProperty(value = "订单总额")
    private BigDecimal totalPrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "总优惠")
    private BigDecimal totalDeductionPrice;

    @ColumnWidth(15)
    @ExcelProperty(value = "优惠券优惠")
    private BigDecimal deductionCouponPrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "产品优惠")
    private BigDecimal deductionProductPrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "应付金额")
    private BigDecimal payablePrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "积分抵扣")
    private Long payGold;

    @ColumnWidth(13)
    @ExcelProperty(value = "实付金额")
    private BigDecimal payPrice;

    @ColumnWidth(13)
    @ExcelProperty(value = "支付方式")
    private String payType;

    @ColumnWidth(15)
    @ExcelProperty(value = "支付卡号")
    private String memCardNo;

    @ColumnWidth(13)
    @ExcelProperty(value = "订单状态")
    private String orderStatus;

    @ColumnWidth(20)
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ColumnWidth(20)
    @ExcelProperty(value = "支付时间")
    private Date payTime;

    @ColumnWidth(20)
    @ExcelProperty(value = "完成时间")
    private Date finishTime;

    @ColumnWidth(10)
    @ExcelProperty(value = "异常状态")
    private String exceptionStatus;

    @ColumnWidth(50)
    @ExcelProperty(value = "券码")
    private String couNo;
}
