package cc.mrbird.febs.dapp.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import cc.mrbird.febs.dapp.chain.ChainService;
|
import cn.hutool.core.util.StrUtil;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
/**
|
* @author
|
* @date 2022-03-17
|
**/
|
@Data
|
@TableName("dapp_member")
|
public class DappMemberEntity extends BaseEntity {
|
|
private String address;
|
|
private BigDecimal balance;
|
|
/**
|
* 用户状态 1-正常 2-禁用
|
*/
|
private Integer accountStatus;
|
/**
|
* 启用
|
*/
|
public static final Integer ACCOUNT_STATUS_ENABLE = 1;
|
/**
|
* 禁用
|
*/
|
public static final Integer ACCOUNT_STATUS_DISABLED = 2;
|
|
/**
|
* 是否可兑换 1-是 2-否
|
*/
|
private Integer changeAble;
|
|
/**
|
* 是否可提现 1-是 2-否
|
*/
|
private Integer withdrawAble;
|
|
private String inviteId;
|
|
private String refererId;
|
|
private String refererIds;
|
|
private int approveCnt;
|
|
private int source;
|
|
/**
|
* 链 1-以太坊 2-币安 3-波场
|
*/
|
private String chainType;
|
|
/**
|
* 是否节点 1-是 2-否
|
*/
|
private Integer nodeType;
|
|
/**
|
* 账号类型 admin normal
|
*/
|
private String accountType;
|
|
private BigDecimal usdtBalance;
|
|
/**
|
* 激活状态 1-已激活 2-未激活
|
*/
|
private Integer activeStatus;
|
|
/**
|
* 滑点分享链
|
*/
|
private String feeProfitIds;
|
|
/**
|
* 1-是 2-否
|
*/
|
private Integer makerType;
|
|
private String username;
|
private String password;
|
private String identity;
|
private String touristMark;
|
private String transferCode;
|
private Integer isProfit;
|
private Integer isOnHook;
|
private String realname;
|
private String phone;
|
private String wahtsApp;
|
private String email;
|
private String telegram;
|
|
/**
|
* 后台操作用户的标识
|
*/
|
@TableField(exist = false)
|
private String description;
|
|
@TableField(exist = false)
|
private BigDecimal coinNumber;
|
|
@TableField(exist = false)
|
private BigDecimal totalAmount;
|
|
@TableField(exist = false)
|
private BigDecimal frozenAmount;
|
|
@TableField(exist = false)
|
private BigDecimal availableAmount;
|
|
@TableField(exist = false)
|
private String refererName;
|
}
|