package cc.mrbird.febs.modules.api.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Data
|
@TableName("member")
|
public class MemberEntity extends BaseEntity {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 系统推荐人id
|
*/
|
public static final String SYSTEM_REFERER = "rxadr3";
|
|
/**
|
* 账号状态 - 禁用
|
*/
|
public static final Integer ACCOUNT_STATUS_DISABLED = 0;
|
|
/**
|
* 账号状态 - 启用
|
*/
|
public static final Integer ACCOUNT_STATUS_ENABLE = 1;
|
|
/**
|
* 账号代理级别
|
*/
|
public static final Integer ACCOUNT_AGENT_LEVEL = 6;
|
|
/**
|
* 账号类型 手机
|
*/
|
public static final Integer ACCOUNT_TYPE_PHONE = 1;
|
|
/**
|
* 正常账号
|
*/
|
public static final Integer ACCOUNT_TYPE_NORMAL = 1;
|
/**
|
* 测试账号
|
*/
|
public static final Integer ACCOUNT_TYPE_TEST = 2;
|
|
/**
|
* 实名认证 审核通过
|
*/
|
public static final Integer CERTIFY_STATUS_Y = 2;
|
/**
|
* 实名认证 审核不通过
|
*/
|
public static final Integer CERTIFY_STATUS_N = 0;
|
/**
|
* 实名认证 审核中
|
*/
|
public static final Integer CERTIFY_STATUS_ING = 1;
|
/**
|
* 实名认证 未提交
|
*/
|
public static final Integer CERTIFY_STATUS_UN_SUBMIT = 3;
|
|
/**
|
* 昵称
|
*/
|
private String nickname;
|
/**
|
* 手机号(包含国际手机号)
|
*/
|
private String phone;
|
|
/**
|
* 登陆密码
|
*/
|
private String password;
|
|
/**
|
* 交易密码
|
*/
|
private String tradePassword;
|
|
/**
|
* 邀请码
|
*/
|
private String inviteId;
|
|
/**
|
* 账号状态 0-禁用 1-启用
|
*/
|
private Integer accountStatus;
|
|
/**
|
* 上级推荐人id
|
*/
|
private String refererId;
|
|
/**
|
* 上级推荐人ID链
|
*/
|
private String refererIds;
|
|
/**
|
* 账号类型 1-正常账号 2-测试账号
|
*/
|
private Integer accountType;
|
|
/**
|
* 代理级别
|
*/
|
private Integer agentLevel;
|
|
/**
|
* 实名认证状态 0-审核未通过 1-审核通过 2-等待审核
|
*/
|
private Integer certifyStatus;
|
|
/**
|
* 提币手续费
|
*/
|
private BigDecimal idcardNo;
|
|
private BigDecimal feeRatio;
|
@TableField(exist = false)
|
private String account;
|
|
}
|