Administrator
2026-03-13 8381bd7af61a2866eac5555c16e1116793ec4e32
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
package cc.mrbird.febs.yinhe.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 用户实体类
 * 对应数据库表:ai_member
 */
@Data
@TableName("ai_member")
public class YhAiMember extends YhBaseEntity {
 
    /**
     * 主键ID (bigint自增)
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    /**
     * 会员UUID
     */
    private String memberUuid;
 
    /**
     * 用户名称
     */
    private String name;
 
    /**
     * 手机号
     */
    private String phone;
 
    /**
     * 邮箱
     */
    private String email;
 
    /**
     * 密码
     */
    private String password;
 
    /**
     * 支付密码
     */
    private String tradePassword;
 
    /**
     * 性别
     */
    private String sex;
 
    /**
     * 邀请码
     */
    private String inviteId;
 
    /**
     * 推荐人邀请码
     */
    private String referrerId;
 
    /**
     * 推荐人线路
     */
    private String referrerIds;
 
    /**
     * 代理层级
     */
    private String level;
 
    /**
     * 账户状态 0-正常 1-禁用
     */
    private Integer accountStatus;
 
    /**
     * 账户类型 1-正常用户
     */
    private Integer accountType;
 
    /**
     * 头像
     */
    private String avatar;
 
    /**
     * 绑定手机号(仅全民商城用得到)
     */
    private String bindPhone;
 
    /**
     * 会员等级
     */
    private Integer director;
 
    /**
     * 分销等级
     */
    private Integer storeMaster;
 
    /**
     * 微信用户标识
     */
    private String openId;
 
    /**
     * 会话密钥
     */
    private String sessionKey;
 
    /**
     * 推销员id
     */
    private Long salesmansId;
 
    /**
     * 邀请图片
     */
    private String inviteImg;
 
    /**
     * 是否是销售员 1:是 2:否
     */
    private Integer isSale;
 
    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthday;
 
    /**
     * 真实姓名
     */
    private String realName;
 
    /**
     * 上一次登录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastLoginTime;
 
    /**
     * 会员时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date vipLevelTime;
 
    /**
     * 是否是医生 0-否 1-是
     */
    private Integer doctorState;
 
    /**
     * 是否是核销员 0-否 1-是
     */
    private Integer checkOrder;
 
    /**
     * 是否领取新人礼 0-否 1-是
     */
    private Integer newGift;
 
    /**
     * 是否是自提订单核销员 0-否 1-是
     */
    private Integer checkLeader;
 
    /**
     * 会员角色ID
     */
    private String memberRoleId;
 
    /**
     * 公司ID
     */
    private String companyId;
 
    /**
     * 角色ID
     */
    private Long roleId;
}