wangrenhuang
2022-08-15 7379ef33deb4c35828c0dd8f5d9154a989b8f703
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
package com.hz.his.dto.user;
 
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * 用户参数
 * @author wzh
 */
@Data
@ToString
public class UserParamDto {
 
    /** 用户id */
    private String userId;
 
    /** 姓名 */
    private String name;
 
    /** 主电话号码 */
    private String tel;
 
    /** 来源信息 */
    private UserUnionDto userUnion;
 
    /** 图片 */
    private String imgUrl;
 
    /** 会员等级 */
    private String userLevel;
 
    /** 星级,100为1星,150为1.5星 */
    private Integer starLevel;
 
    /** 用户类型 */
    private String userType;
 
    /** 来源id */
    private String channelId;
 
    /** 来源 */
    private String channelType;
 
    /** 二级来源id */
    private String channel2Id;
 
    /** 二级来源 */
    private String channelType2;
 
    /** QQ */
    private String QQ;
 
    /** 性别 */
    private Integer gender = SEX_WUMAN;
 
    /** CIQ */
    private String CIQ;
 
    /** 会员号 */
    private String memberNO;
 
    /** 备注 */
    private String remark;
 
    /** 消费金额 */
    private String money;
 
    /** 上一次预约的医生 */
    private String lastDoctorId;
 
    /** 上一次预约的顾问 */
    private String lastCorpUserId;
 
    /** 证件类型 */
    private Integer certificateType;
 
    /** 证件编号 */
    private String certificateNo;
 
    /** 生日yyyy-MM-dd" */
    private String birthDay;
 
    /** 工作人员Id */
    private String corpUserId;
 
    /** 接口id */
    private String apiId;
 
    /** 所属顾问(销售顾问) */
    private String hisCorpUserId;
 
    /** 客户开发人员工id */
    private String customerDeveloperId;
 
    /** 所属门店id */
    private String shopId;
 
    /** 用户角色 */
    private Integer userRole;
 
    /**  拼音码*/
    private String pinyinCode;
 
    /** 电网咨询顾问 */
    private String internetCorpUserId;
 
    /**  所属美容师*/
    private String beauticianCorpUserId;
 
    /** 客服专员 */
    private String chatCorpUserId;
 
    /** 咨询助理 */
    private String consultCorpUserId;
 
    /** 共享客户 */
    private Integer shareCustomer = 0;
 
    /** 所属护士 */
    private String nurseCorpUserId;
 
    /** 所属医生 */
    private String doctorCorpUserId;
 
    /** 咨询师隶属 */
    private String consultBelonging;
 
    /** 国家类型名称 */
    private String countryTypeName;
 
    /** 语言类型名称 */
    private String languageTypeName;
 
    /** 用户年龄 */
    private Integer year = 0;
 
    /** 星座类型名称 */
    private String constellationTypeName;
 
    /** 民族类型名称 */
    private String nationalityTypeName;
 
    /** 职业类型名称 */
    private String professionTypeName;
 
    /** 收入类型名称 */
    private String incomeTypeName;
 
    /** 婚姻类型名称 */
    private String marriageTypeName;
 
    /** 生育类型名称 */
    private String growthTypeName;
 
    /** 籍贯类型名称 */
    private String nativePlaceTypeName;
 
    /** 单位名称 */
    private String unitName;
 
    /** 泊车需求 */
    private Integer isHaveCar = 0;
 
    /** 车牌号码 */
    private String carNumber;
 
    /** 过敏标签 */
    private String allergyLabel;
 
    /** 印象标签 json */
    private String impressionLabelJson;
 
    /** 用户兴趣爱好json */
    private String userInterestsJson;
 
    /** email */
    private String email;
 
    /** 商务通编号 */
    private String merchantNo;
 
    /** 固定电话 */
    private String telPhone;
 
    /** wechat */
    private String wechat;
 
    /** Line */
    private String line;
 
    /** 联络方式 */
    private String contactType;
 
    /** 用户地址 json */
    private String addressJson;
 
    /** 次要电话簿 json */
    private String phoneBooksJson;
 
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    /** 更新时间 */
    private Date updateTime;
 
    /** 邀请人id  用户,员工 */
    private String inviteeId;
 
    /** 渠道来源类型 */
    private String channelCategory= CATEGORY_ONESELF;
 
    /** 性别0未知1男2女 */
    private Integer sex;
 
    /** 会员名称 */
    private String memberLevel;
 
    /** 搜索:做过项目 */
    private String projectName;
 
 
    /** 用户消费时间(开始),格式:yyyy-MM-dd HH:mm:ss */
    private String consumeStartTime;
    /** 搜索:用户创建时间(开始),格式:yyyy-MM-dd HH:mm:ss */
    private String createStartTime;
    /** 搜索:用户创建时间(结束),格式:yyyy-MM-dd HH:mm:ss */
    private String createEndTime;
 
    /**性别-未知*/
    public static final Integer SEX_UNKNOWN = 0;
    /**性别-男*/
    public static final Integer SEX_MAN = 1;
    /**性别-女*/
    public static final Integer SEX_WUMAN = 2;
 
    /**渠道类别-渠道*/
    public static final String CATEGORY_CHANNEL = "channel";
    /**渠道类别-会员*/
    public static final String CATEGORY_MEMBERS = "members";
    /**渠道类别-员工*/
    public static final String CATEGORY_EMPLOYEE = "employee";
    /**渠道类别-自己来*/
    public static final String CATEGORY_ONESELF = "oneself";
 
    /*用户注册推荐人id*/
    private String referrerId;
    /*同步领建的参数*/
    private boolean internal;
 
 
}