From e625081da5724a0c11b838e8b61d47364abebc35 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 16 Jul 2020 11:00:29 +0800 Subject: [PATCH] modify closing spread --- src/main/java/com/xcong/excoin/modules/member/entity/MemberEntity.java | 151 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 145 insertions(+), 6 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 11eff4b..1268b7f 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,9 +1,9 @@ package com.xcong.excoin.modules.member.entity; +import com.baomidou.mybatisplus.annotation.TableName; import com.xcong.excoin.common.system.base.BaseEntity; import lombok.Data; - -import java.io.Serializable; +import java.math.BigDecimal; /** * 会员信息实体 @@ -12,12 +12,151 @@ * @date 2020-05-12 **/ @Data -public class MemberEntity extends BaseEntity implements Serializable { - private static final long serialVersionUID = -1L; +@TableName("member") +public class MemberEntity extends BaseEntity { - private Long id; + /** + * + */ + private static final long serialVersionUID = 1L; - private String username; + /** + * 账号状态 - 禁用 + */ + public static final Integer ACCOUNT_STATUS_DISABLED = 0; + /** + * 账号状态 - 启用 + */ + public static final Integer ACCOUNT_STATUS_ENABLE = 1; + + /** + * 账号代理级别 + */ + public static final Integer ACCOUNT_AGENT_LEVEL = 6; + + /** + * 账号类型 手机 + */ + public static final Integer ACCOUNT_TYPE_PHONE = 1; + + /** + * 账号类型 邮箱 + */ + 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; + /** + * 实名认证 审核不通过 + */ + public static final Integer CERTIFY_STATUS_N = 0; + /** + * 实名认证 审核中 + */ + 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; + + /** + * 手机号(包含国际手机号) + */ + private String phone; + + /** + * 邮箱 + */ + private String email; + + /** + * 登陆密码 + */ private String password; + + /** + * 交易密码 + */ + private String tradePassword; + + /** + * 交易密码时效性设置 + */ + private Integer tradeAgingSetting; + + /** + * 邀请码 + */ + private String inviteId; + + /** + * 账号状态 0-禁用 1-启用 + */ + private int accountStatus; + + /** + * 上级推荐人id + */ + private String refererId; + + /** + * 上级推荐人ID链 + */ + private String refererIds; + + /** + * 账号类型 1-正常账号 2-测试账号 + */ + private Integer accountType; + + /** + * 代理级别 + */ + private Integer agentLevel; + + /** + * 实名认证状态 0-审核未通过 1-审核通过 2-等待审核 + */ + private Integer certifyStatus; + + /** + * 身份证号 + */ + private String idcardNo; + + /** + * 是否设置盈亏难度系数 0-否1-是 + */ + private Integer isProfit; + + /** + * 是否设置预估强平价系数 0-否1-是 + */ + private Integer isForce; + + /** + * 滑点 + */ + private BigDecimal spread; + + /** + * 平仓点数 + */ + private BigDecimal closingSpread; } -- Gitblit v1.9.1