package com.hzs.common.domain.system.config;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 交易配置表
 * </p>
 *
 * @author hzs
 * @since 2023-08-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_TRADE_CONFIG")
@KeySequence("BD_TRADE_CONFIG_SEQ")
public class BdTradeConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 注册等级
     */
    @TableField("PK_GRADE")
    private String pkGrade;

    /**
     * 真实奖衔
     */
    @TableField("PK_AWARDS")
    private String pkAwards;

    /**
     * 1:提现 2:转账 (来源枚举EBusinessModule)
     */
    @TableField("BUSINESS_MODULE")
    private Integer businessModule;

    /**
     * 实名状态  1:禁止 0：允许  (来源枚举EYesNo)
     */
    @TableField("REAL_NAME_STATE")
    private Integer realNameState;

    /**
     * 营业执照状态 1:禁止 0：允许 (来源枚举EYesNo)
     */
    @TableField("LICENSE_STATE")
    private Integer licenseState;


}
