From 3ea1ad735be11d1d4b1629064916dac476fdd5c1 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 17 May 2021 18:08:04 +0800
Subject: [PATCH] 20210517 云顶
---
src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java | 81 ++++++++++++++++++++++++++++++++++++++--
1 files changed, 76 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java b/src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java
index fa286bc..023a18b 100644
--- a/src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java
+++ b/src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java
@@ -1,10 +1,12 @@
package com.xcong.excoin.modules.member.entity;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
+import com.xcong.excoin.modules.yunding.entity.YdBasicLevelSettingEntity;
+import com.xcong.excoin.modules.yunding.entity.YdBasicSettingEntity;
import lombok.Data;
-
-import java.io.Serializable;
+import java.math.BigDecimal;
/**
* 会员信息实体
@@ -17,6 +19,11 @@
public class MemberEntity extends BaseEntity {
/**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
* 账号状态 - 禁用
*/
public static final Integer ACCOUNT_STATUS_DISABLED = 0;
@@ -42,9 +49,18 @@
public static final Integer ACCOUNT_TYPE_EMAIL = 2;
/**
+ * 正常账号
+ */
+ public static final Integer ACCOUNT_TYPE_NORMAL = 1;
+ /**
+ * 测试账号
+ */
+ public static final Integer ACCOUNT_TYPE_TEST = 2;
+
+ /**
* 实名认证 审核通过
*/
- public static final Integer CERTIFY_STATUS_Y = 1;
+ public static final Integer CERTIFY_STATUS_Y = 2;
/**
* 实名认证 审核不通过
*/
@@ -52,7 +68,24 @@
/**
* 实名认证 审核中
*/
- public static final Integer CERTIFY_STATUS_ING = 2;
+ public static final Integer CERTIFY_STATUS_ING = 1;
+ /**
+ * 实名认证 未提交
+ */
+ public static final Integer CERTIFY_STATUS_UN_SUBMIT = 3;
+
+ public static final int IS_PROFIT_Y = 1;
+
+ public static final int IS_PROFIT_N = 0;
+
+ public static final Integer IS_TRADER_Y = 1;
+
+ public static final Integer IS_TRADER_N = 2;
+
+ /**
+ * 1是2否
+ */
+ private Integer isTrader;
/**
* 手机号(包含国际手机号)
@@ -87,7 +120,7 @@
/**
* 账号状态 0-禁用 1-启用
*/
- private int accountStatus;
+ private Integer accountStatus;
/**
* 上级推荐人id
@@ -128,4 +161,42 @@
* 是否设置预估强平价系数 0-否1-是
*/
private Integer isForce;
+
+ /**
+ * 滑点
+ */
+ private BigDecimal spread;
+
+ /**
+ * 平仓点数
+ */
+ private BigDecimal closingSpread;
+
+ /**
+ * 强平系数
+ */
+ private BigDecimal forceParam;
+
+ /**
+ * 合约仓位类型
+ */
+ private Integer contractPositionType;
+
+ /**
+ * 指纹解锁功能 1:是 0:否
+ */
+ private Integer fingerprintState;
+
+ /**
+ * 是否可平仓 1:否 0:是
+ */
+ private Integer pcState;
+
+ public static final Integer PCSTATE_Y = 0;
+
+ public static final Integer PCSTATE_N = 1;
+
+ @TableField(exist = false)
+ private YdBasicLevelSettingEntity ydBasicLevelSettingEntity;
+
}
--
Gitblit v1.9.1