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: ExportGasOrderModel
 * @author: HuRui
 * @date: 2022/10/28
 **/
@Data
public class ExportOrderRefundModel {

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

    @ColumnWidth(25)
    @ExcelProperty("支付方式")
    private String payTypeName;

    @ColumnWidth(25)
    @ExcelProperty("产品单号")
    private String childOrderNo;

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

    @ColumnWidth(15)
    @ExcelProperty("产品类型")
    private String goodsType;

    @ColumnWidth(30)
    @ExcelProperty("产品名称")
    private String goodsName;

    @ColumnWidth(25)
    @ExcelProperty("退款单号")
    private String refundOrderNo;

    @ColumnWidth(15)
    @ExcelProperty("退款数量")
    private Integer refundGoodsNum;

    @ColumnWidth(15)
    @ExcelProperty("退款总额")
    private BigDecimal returnTotalPrice;

    @ColumnWidth(15)
    @ExcelProperty("退款金额")
    private BigDecimal refundPrice;

    @ColumnWidth(15)
    @ExcelProperty("退款积分")
    private Integer refundIntegral;

    @ColumnWidth(20)
    @ExcelProperty("退款入账商户")
    private String accountMerchantNum;

    @ColumnWidth(15)
    @ExcelProperty("退款状态")
    private String refundStatus;

    @ColumnWidth(15)
    @ExcelProperty("创建时间")
    private Date createTime;

    @ColumnWidth(15)
    @ExcelProperty("退款时间")
    private Date refundTime;

    @ColumnWidth(50)
    @ExcelProperty("退款备注")
    private String refundRemark;
}
