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

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

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 卡片类型表
 */
@Data
@Entity
@Table(name = "ucard_type_currency")
public class CardTypeCurrencyTable extends BaseTable {

    private Integer cardTypeId;

    /**
     * 充值币种
     */
    private String currency;

    /**
     * 充值最小额度
     */
    private BigDecimal rechargeMinQuota;

    /**
     * 充值最大额度
     */
    private BigDecimal rechargeMaxQuota;

    /**
     * 精度
     */
    private Integer digital;

    /**
     * 卡片类别 1:ucard 2:wasabi
     */
    private Integer cardCategory;

    /**
     * 充值手续费率 1=1%
     */
    private BigDecimal rechargeFeeRate;

    /**
     * 充值固定手续费
     */
    private BigDecimal rechargeFixedFee;

}
