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;

@Data
@Entity
@Table(name = "sys_remit_channel")
public class SysRemitChannelTable extends BaseTable {

    /**
     * 通道位置code
     */
    private String code;
    /**
     * 通道名称
     */
    private String name;
    /**
     * 通道英文名称
     */
    private String enName;

    private Integer remitApi;
    /**
     * 通道配置信息
     */
    private String property;

    private String pk;

    private String withdrawInfoUrl;
    private String withdrawUrl;
    /**
     * 调用通道的路由地址
     */
    private String requestUrl;
    /**
     * 通道出金货币
     */
    private String currency;

    private String transformCurrency;
    /**
     * 通道图标(icon)
     */
    private String icon;
    /**
     * 通道图标-英文(icon)
     */
    private String enIcon;
    /**
     * 介绍
     */
    private String introduce;
    /**
     * 英文介绍
     */
    private String enIntroduce;

    /**
     * 是否启用 1启用 0不启用
     */
    private Integer valid;
    private String type;
    /**
     * 是否启用银行
     */
    private Integer bankValid;

    private Integer subIndex;

    private String fundingTime;

    private Integer free;

    private BigDecimal minAmount;
    private BigDecimal maxAmount;

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

    private String countrys;

    private Integer feeType;

    private BigDecimal feeAmount;

    private Integer fastChannel;
}
