xiaoyong931011
2021-03-26 48c3fa5761f4eb5f7e134cce28a6d887156c34d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
package com.xcong.excoin.modules.member.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xcong.excoin.common.entity.BaseEntity;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 会员信息实体
 *
 * @author wzy
 * @date 2020-05-12
 **/
@Data
@TableName("member")
public class MemberEntity extends BaseEntity {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * 系统推荐人id
     */
    public static final String SYSTEM_REFERER = "rxadr3";
 
    /**
     * 账号状态 - 禁用
     */
    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 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 Integer 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;
    
    /**
     * 是否是交易员1是2否
     */
    private Integer isTrader;
    public static final int ISTRADER_Y = 1;
    public static final int ISTRADER_N = 2;
    
    /**
     * 是否可平仓   1:否   0:是
     */
    private Integer pcState;
    public static final int PCSTATE_Y = 0;
    public static final int PCSTATE_N = 1;
 
    /**
     * 是否设置预估强平价系数 0-否1-是
     */
    private Integer isForce;
    
    @TableField(exist = false)
    private String account;
    @TableField(exist = false)
    private String accounts;
    
    @TableField(exist = false)
    private String firstName;
    
    @TableField(exist = false)
    private String secondName;
    
    @TableField(exist = false)
    private String realName;
    
    @TableField(exist = false)
    private BigDecimal coinNumber;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(exist = false)
    private Date startTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(exist = false)
    private Date endTime;
    
    /**
     * 查询条件:账号类型
     */
    @TableField(exist = false)
    private String isTest;
 
    /**
     * 滑点
     */
    private BigDecimal spread;
 
    /**
     * 平仓点数
     */
    private BigDecimal closingSpread;
 
    /**
     * 强平系数
     */
    private BigDecimal forceParam;
 
    /**
     * 合约仓位类型
     */
    private Integer contractPositionType;
 
    /**
     * 指纹解锁功能  1:是   0:否
     */
    private Integer fingerprintState;
}