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

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

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

@Data
@Entity
@Table(name = "sys_remittance_channel")
public class SysRemittanceChannelTable extends BaseTable {


    private Integer type;
    /**
     * 通道位置code
     */
    private String code;
    /**
     * 通道名称
     */
    private String name;
    /**
     * 通道英文名称
     */
    private String enName;
    /**
     * 调用通道的路由地址
     */
    private String requestUrl;
    /**
     * 通道配置信息
     */
    private String property;

    private String pk;
    /**
     * 通道入金货币
     */
    private String currency;

    private String transformCurrency;
    private BigDecimal minAmount;
    private BigDecimal maxAmount;
    /**
     * 通道过期时间
     */
    private Integer expire;
    /**
     * 通道图标(icon)
     */
    private String icon;
    /**
     * 通道图标-英文(icon)
     */
    private String enIcon;
    /**
     * 介绍
     */
    private String introduce;
    /**
     * 英文介绍
     */
    private String enIntroduce;

    /**
     * 是否启用 1启用 0不启用
     */
    private Integer valid;

    /**
     * 是否启用银行
     */
    private Integer bankValid;

    private Integer subIndex;

    private String fundingTime;

    private Integer free;

    private BigDecimal rate;

    private String cIds;
    @Column(name = "exclude_c_ids")
    private String excludeCIds;

    private String countrys;
    private Integer confirmName;
    private Integer confirmAreaCode;
    private Integer confirmPhone;

    private Integer confirmCreditCard;

    private String states;
    private String startTime;
    private String endTime;

    /**
     * kyc通道 0:否 1；是
     */
    private Integer kycChannel;

    /**
     * 认证次数限制
     */
    private Integer verifyNumLimit;

    /**
     * 认证天数
     */
    private Integer verifyDate;

}
