From 672316e653a0cda94537e5e390ff604dde14ef53 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 31 Oct 2022 14:20:14 +0800
Subject: [PATCH] 20221021

---
 src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java |   72 ++++++++++++++++++++++++++++++++----
 1 files changed, 64 insertions(+), 8 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java b/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java
index 4ed724b..009a7da 100644
--- a/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java
+++ b/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java
@@ -10,7 +10,7 @@
 import java.math.BigDecimal;
 
 /**
- * @author wzy
+ * @author 
  * @date 2022-03-17
  **/
 @Data
@@ -25,6 +25,14 @@
      * 用户状态 1-正常 2-禁用
      */
     private Integer accountStatus;
+    /**
+     * 启用
+     */
+    public static final Integer ACCOUNT_STATUS_ENABLE = 1;
+    /**
+     * 禁用
+     */
+    public static final Integer ACCOUNT_STATUS_DISABLED = 2;
 
     /**
      * 是否可兑换 1-是 2-否
@@ -42,13 +50,61 @@
 
     private String refererIds;
 
-    @TableField(exist = false)
     private int approveCnt;
 
-    public int getApproveCnt() {
-        if (StrUtil.isNotBlank(address)) {
-            return ChainService.INSTANCE.allowanceCnt(address);
-        }
-        return 0;
-    }
+    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;
 }

--
Gitblit v1.9.1