86183
2022-09-09 0d999e33085c0a25c5525242748f6aa62a401159
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
package com.dsh.app.entity;
 
import cn.mb.cloud.common.data.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
 
 
/**
 * <p>
 * 用户
 * </p>
 *
 * @author zhao
 * @since 2022-05-16
 */
@Data
@TableName("dsh_user")
public class User extends BaseEntity<User> {
 
    private static final long serialVersionUID = -3491758539723084720L;
 
    /**
     * 姓名
     */
    private String name;
    /**
     * 手机号
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 性别 0男 1女
     */
    private Integer gender;
    /**
     * 余额
     */
    private BigDecimal balance = new BigDecimal(0);
    /**
     * 积分
     */
    private Integer integral;
    /**
     * 出生日期 yyyy-MM-dd
     */
    private String birthday;
    /**
     * 来源
     */
    private String source;
    /**
     * 身份证
     */
    @TableField("id_card")
    private String idCard;
    /**
     * 医保号
     */
    @TableField("health_care_number")
    private String healthCareNumber;
    /**
     * 档案号
     */
    @TableField("archives_number")
    private String archivesNumber;
    /**
     * 婚否 0:否 1:是 默认0
     */
    @TableField("marital_status")
    private Boolean maritalStatus;
    /**
     * 体重
     */
    private String weight;
    /**
     * 职业
     */
    private String occupation;
    /**
     * 家庭住址
     */
    @TableField("family_address")
    private String familyAddress;
    /**
     * 单位
     */
    private String company;
    /**
     * 既往史
     */
    @TableField("past_history")
    private String pastHistory;
    /**
     * 累计消费
     */
    @TableField("total_consume")
    private BigDecimal totalConsume;
    /**
     * 最近到店日期 yyyy-MM-dd
     */
    @TableField("recently_store_date")
    private String recentlyStoreDate;
    /**
     * 最近到店ID
     */
    @TableField("recently_store_id")
    private Long recentlyStoreId;
    /**
     * 最近到店名称
     */
    @TableField("recently_store_name")
    private String recentlyStoreName;
    /**
     * 微信ID
     */
    @TableField("open_id")
    private String openId;
 
    /**
     * 用户头像
     */
    private String avatar;
    /**
     * 是否锁定 0:正常 9:锁定
     */
    @TableField("lock_flag")
    private String lockFlag;
 
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 月
     */
    private  Integer month;
 
    /**
     * 天
     */
    private   Integer day;
 
    /**
     * 注册类型 0:已注册用户 1:未注册用户,2:家庭成员
     */
    @TableField("register_type")
    private Integer registerType;
 
    /**
     * 是否初始化聊天
     */
    @TableField("is_initialize_chat")
    private Integer isInitializeChat;
 
    /**
     * 充值金额
     */
    @TableField("recharge_amount")
    private Double rechargeAmount=0d;
 
    /**
     * 赠送金额
     */
    @TableField("give_amount")
    private Double giveAmount=0d;
 
}