From 3b51e28456fc8c3ca03a27df70645b82c1a1530b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 08 Sep 2020 18:00:30 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java | 49 +++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 45 insertions(+), 4 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 9489f9c..e73a151 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 @@ -3,9 +3,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; -import org.web3j.abi.datatypes.Int; - -import java.io.Serializable; +import java.math.BigDecimal; /** * 会员信息实体 @@ -18,6 +16,11 @@ public class MemberEntity extends BaseEntity { /** + * + */ + private static final long serialVersionUID = 1L; + + /** * 账号状态 - 禁用 */ public static final Integer ACCOUNT_STATUS_DISABLED = 0; @@ -43,6 +46,15 @@ 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 = 2; @@ -62,6 +74,15 @@ 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; /** * 手机号(包含国际手机号) @@ -96,7 +117,7 @@ /** * 账号状态 0-禁用 1-启用 */ - private int accountStatus; + private Integer accountStatus; /** * 上级推荐人id @@ -137,4 +158,24 @@ * 是否设置预估强平价系数 0-否1-是 */ private Integer isForce; + + /** + * 滑点 + */ + private BigDecimal spread; + + /** + * 平仓点数 + */ + private BigDecimal closingSpread; + + /** + * 强平系数 + */ + private BigDecimal forceParam; + + /** + * 合约仓位类型 + */ + private Integer contractPositionType; } -- Gitblit v1.9.1