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 io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.web3j.abi.datatypes.Int;
|
|
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;
|
|
/**
|
* 是否可兑换 1-是 2-否
|
*/
|
private Integer changeAble;
|
|
/**
|
* 是否可提现 1-是 2-否
|
*/
|
private Integer withdrawAble;
|
|
private String inviteId;
|
private String inviteRight;
|
private String inviteLeft;
|
|
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;
|
//左边区域业绩
|
private BigDecimal leftAchieve;
|
//右边区域业绩
|
private BigDecimal rightAchieve;
|
|
/**
|
* 激活状态 1-已激活 2-未激活
|
*/
|
private Integer activeStatus;
|
|
/**
|
* 滑点分享链
|
*/
|
private String feeProfitIds;
|
|
/**
|
* 1-是 2-否
|
*/
|
private Integer makerType;
|
|
/**
|
* 出局次数
|
*/
|
private Integer outCnt;
|
|
@TableField(exist = false)
|
private BigDecimal totalAmount;
|
|
@TableField(exist = false)
|
private BigDecimal frozenAmount;
|
|
@TableField(exist = false)
|
private BigDecimal availableAmount;
|
|
@ApiModelProperty(value = "直推奖金(直推收益)")
|
|
@TableField(exist = false)
|
private BigDecimal directProfit;
|
|
@ApiModelProperty(value = "平级奖金(层级收益)")
|
|
@TableField(exist = false)
|
private BigDecimal levelProfit;
|
|
@ApiModelProperty(value = "幸运奖金(动能收益)")
|
|
@TableField(exist = false)
|
private BigDecimal luckyProfit;
|
|
@TableField(exist = false)
|
private Long systemProfitId;
|
|
@TableField(exist = false)
|
private int memberNodeCnt;
|
|
@TableField(exist = false)
|
private BigDecimal memberNodeSumPrice;
|
|
@ApiModelProperty(value = "币余额")
|
@TableField(exist = false)
|
private BigDecimal coinAmount;
|
|
@ApiModelProperty(value = "赠送积分余额")
|
@TableField(exist = false)
|
private BigDecimal scoreAmount;
|
|
@ApiModelProperty(value = "我的共享业绩")
|
@TableField(exist = false)
|
private BigDecimal myShareAchieve;
|
|
@ApiModelProperty(value = "我的团队业绩")
|
@TableField(exist = false)
|
private BigDecimal myTeamAchieve;
|
|
@ApiModelProperty(value = "累计提现")
|
@TableField(exist = false)
|
private BigDecimal withdrawAmount;
|
|
}
|