package com.crm.rely.backend.core.pojo.view;

import com.crm.rely.backend.core.pojo.BaseApproveTable;
import lombok.Data;

import javax.persistence.Entity;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 存款
 *
 * @author Administrator
 */
@Data
@Entity
public class FinanceWithdrawView extends BaseApproveTable {

    /**
     * 流水号
     */
    private String serial;

    /**
     * 用户id
     */
    private Long customId;

    /**
     * 用户名称
     */
    private String name;

    private String areaCode;
    private String phone;
    /**
     * 出金账号平台
     */
    private String platform;
    /**
     * 出金账号
     */
    private Long login;
    /**
     * 出金交易账号类型
     */
    private Long loginType;
    /**
     * 出金金额
     */
    private BigDecimal amount;

    private String currency;
    /**
     * 出金汇率
     */
    private BigDecimal rate;
    /**
     * 出金实际金额
     */
    private BigDecimal transformAmount;
    /**
     * 出金实际货币类型
     */
    private String transformCurrency;
    /**
     * 通道流水号(id)
     */
    private String channelSerial;

    private Integer callbackStatus;

    private Integer withdrawStatus;

    private BigDecimal withdrawAmount;

    private String withdrawCurrency;

    private String withdrawTicket;

    private Integer operationType;

    private String payType;

    private String bankCode;

    private String address;

    private String message;

    private String bankUname;

    private String bankCardNum;

    private String bankName;

    private String bankBranchName;

    private String bankAddr;

    private String swiftCode;

    private String customBankCode;

    private String bankFront;

    private String bankBack;

    private String cvv;

    private String expiryMonth;

    private String expiryYear;


    //下面为出金通道配置信息 作为记录

    private String remitChannelType;
    private String remitChannelCode;

    private String remitChannelName;

    private String remitChannelEnName;

    private String remitChannelRequestUrl;

    private String remitChannelCurrency;

    private String remitChannelIcon;

    private String remitChannelEnIcon;

    private String remitChannelIntroduce;

    private String remitChannelEnIntroduce;

    private String ibNo;

    private String pIbNo;

    private Long cId;

    private String salesNo;

    private Integer salesStatus;

    private Integer salesSettingLevel;

    private String agencyNo;

    private String addressProve;

    private String cpf;

    private Integer submitStatus;

    private Date submitTime;

    private Integer backstageStatus;


    private Integer infoStatus;

    private Integer feeReduction;

    private BigDecimal feeAmount;

    private BigDecimal feeReductionAmount;
    private String activityNote;

    private Long salaryLogin;

    private Integer realVerify;

    private Date callbackTime;
}
