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

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

    @ColumnWidth(25)
    @ExcelProperty(value = "充值订单号")
    private String regOrderNo;

    @ColumnWidth(25)
    @ExcelProperty(value = "充值平台")
    private String rechargePlatform;

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

    @ColumnWidth(15)
    @ExcelProperty(value = "订单标题")
    private String title;

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

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

    @ColumnWidth(13)
    @ExcelProperty(value = "优惠券优惠金额")
    private BigDecimal deductionCouponPrice;

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

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

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

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

    @ColumnWidth(22)
    @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 refundTime;

}
