package com.jeequan.jeepay.core.model.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

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

@Data
public class SettleInfoExportExcel {

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String mchUserName;

    /**
     * 商户名称
     */
    @Excel(name = "商户名称")
    private String mchName;

    /**
     * 服务商名称
     */
    @Excel(name = "服务商名称")
    private String agentName;

    /**
     * 支付通道
     */
    @Excel(name = "支付通道")
    private String ifName;

    /**
     * 应用名称
     */
    @Excel(name = "应用名称")
    private String appName;

    /**
     * 商户号
     */
    @Excel(name = "商户号")
    private String mchExtNo;


    /**
     * 结算账户名
     */
    @Excel(name = "结算账户名")
    private String accountName;

    /**
     *结算账户
     */
    @Excel(name = "结算卡号")
    private String accountNo;

    /**
     * 交易手续费
     */
    @Excel(name = "交易手续费")
    private String fee;

    /**
     * 垫资手续费
     */
    @Excel(name = "垫资手续费")
    private String cashFee;

    /**
     * 结算金额
     */
    @Excel(name = "结算金额")
    private String settleAmt;

    /**
     * D0 D1 T1
     */
    @Excel(name = "结算类型")
    private String settleType;

    /**
     * 附言信息
     */
    @Excel(name = "附言信息")
    private String remark;

    /**
     * 结算状态
     */
    @Excel(name = "结算状态", replace = {"付款失败_-1","待付款_0", "付款中_1", "付款成功_2", "暂缓_3", "冻结_4", "退票_5", "待查看_98", "其它_99"})
    private String state;

    /**
     * 成功交易笔数
     */
    @Excel(name = "交易笔数")
    private Integer transactionNumber;

    /**
     * 成功交易金额
     */
    @Excel(name = "交易金额")
    private Long transactionAmount;

    /**
     * 结算时间
     */
    @Excel(name = "结算时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;


}
