package com.crm.manager.dto.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

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


/**
 * @Author: houn
 * @Date: 2020/11/25 11:50
 * @Description:
 */
@Data
public class FinanceDepositExportDto extends BaseRowModel {

    @ExcelProperty(value = "CID", index = 0)
    private String CID;
    @ExcelProperty(value = "归属编号", index = 1)
    private String PIBNO;

    @ExcelProperty(value = "销售编号", index = 2)
    private String salesNo;

    /**
     * 入金账号平台
     */
    @ExcelProperty(value = "平台", index = 3)
    private String platform;

    /**
     * 入金账号
     */
    @ExcelProperty(value = "交易账户", index = 4)
    private Long login;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称", index = 5)
    private String name;

    /**
     * 流水号
     */
    @ExcelProperty(value = "流水号", index = 6)
    private String serial;


    /**
     * 入金金额
     */
    @ExcelProperty(value = "入金金额", index = 7)
    private BigDecimal amount;

    @ExcelProperty(value = "入金类型", index = 8)
    private String currency;

    /**
     * 入金汇率
     */
    @ExcelProperty(value = "汇率", index = 9)
    private BigDecimal rate;

    /**
     * 入金实际金额
     */
    @ExcelProperty(value = "实际入金金额", index = 10)
    private BigDecimal transformAmount;

    /**
     * 入金实际货币类型
     */
    @ExcelProperty(value = "实际货币类型", index = 11)
    private String transformCurrency;

    @ExcelProperty(value = "RMB", index = 12)
    private BigDecimal cny;

    @ExcelProperty(value = "是否活动入金(0 不参与 1参与)", index = 13)
    private Integer activityDeposit;

    /**
     * 通道流水号(id)
     */
    @ExcelProperty(value = "通道订单号", index = 14)
    private String channelSerial;

    @ExcelProperty(value = "回调状态(0未回调 1成功 2失败)", index = 15)
    private Integer callbackStatus;

    @ExcelProperty(value = "回调时间", index = 16, format = "yyyy-MM-dd HH:mm:ss")
    private Date callbackTime;

    @ExcelProperty(value = "manager入金状态(0未入金 1入金中 2已入金)", index = 17)
    private Integer depositStatus;

    @ExcelProperty(value = "manager订单号", index = 18)
    private String depositTicket;

    @ExcelProperty(value = "操作方式 1自动 2人工", index = 19)
    private Integer operationType;


    @ExcelProperty(value = "申请时间", index = 20, format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @ExcelProperty(value = "审批时间", index = 21, format = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    @ExcelProperty(value = "审批状态(1未处理 2通过 3拒绝)", index = 22)
    private Integer status;
    /**
     * 过期时间
     */
    @ExcelProperty(value = "过期时间", index = 23, format = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    @ExcelProperty(value = "支付类型", index = 24)
    private String payType;

    @ExcelProperty(value = "银行通道", index = 25)
    private String bankCode;

    @ExcelProperty(value = "支付凭证", index = 26)
    private String voucherUrl;

    @ExcelProperty(value = "通道名称(中文)", index = 27)
    private String remittanceChannelName;

    @ExcelProperty(value = "通道名称(英文)", index = 28)
    private String remittanceChannelEnName;

    @ExcelProperty(value = "来源名称(中文)", index = 29)
    private String sourceName;
    @ExcelProperty(value = "来源名称(英文)", index = 30)
    private String sourceNameEn;


    @ExcelProperty(value = "活动赠金", index = 31)
    private String activityDepositName;
}
