zbb378@sohu.com
2024-11-04 b2bad51be3c8d3e78d7f81a19415faeac2d0297c
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
package com.nova.sankuai.domain.entity;
 
import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author weikangdi
 */
@Data
@ApiModel(value = "客户信息表")
public class CustomerZcy {
 
    @ApiModelProperty(value = "默认借款金额")
    public static final Double DEFAULT_QUOTA = 10000d;
 
    @ApiModelProperty(value = "默认借款期数")
    public static final Integer DEFAULT_TERM = 12;
 
    @ApiModelProperty(value = "重新审批时间")
    public static final Integer VALID_DAY = 365;
 
    @ApiModelProperty(value = "主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId
    private Long id;
 
    /**
     * 系统内部配置
     */
 
    @ApiModelProperty(value = "放款机构id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long mechanismId;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "放款机构名称")
    private String mechanismName;
 
    @ApiModelProperty(value = "所在城市ID")
    private String city;
 
    @ApiModelProperty(value = "所在城市名称")
    private String cityName;
 
    @TableLogic
    @ApiModelProperty(value = "删除标志 0-未删除 1-已删除")
    private Integer deleteFlag;
 
    @ApiModelProperty(value = "同步原始渠道代码")
    private Integer syncChannelCode;
 
    @ApiModelProperty(value = "同步原始渠道名称")
    private String syncChannelName;
 
    @ApiModelProperty(value = "用户资料录入程度")
    private Integer status;
 
    @ApiModelProperty(value = "资产信息是否从浏览器上录入, 1为是,0为否")
    private Integer assetFromBrowser;
 
    @ApiModelProperty(value = "通过宜信审核 通过审核 参考枚举YiXinApprovalResultEnum")
    private Integer passApproval;
 
    @ApiModelProperty(value = "洋钱罐用户Id")
    private String yqgUserId;
 
    @ApiModelProperty(value = "注册用户Id")
    private Long customerUserId;
    /**
     * 基本资料部分
     */
    @ApiModelProperty(value = "姓名")
    private String name;
 
    @ApiModelProperty(value = "电话")
    private String phone;
 
    @ApiModelProperty(value = "身份证号")
    private String idCard;
 
    @ApiModelProperty(value = "职业信息")
    private Integer professionInfo;
 
    @ApiModelProperty(value = "芝麻分")
    private Integer sesame;
 
    @ApiModelProperty(value = "社保缴纳")
    private Integer socialSecurity;
 
    @ApiModelProperty(value = "公积金缴纳")
    private Integer providentFund;
 
    @ApiModelProperty(value = "房产情况")
    private Integer houseStatus;
 
    @ApiModelProperty(value = "车辆情况")
    private Integer carStatus;
 
    @ApiModelProperty(value = "保险保单")
    private Integer insurancePolicy;
 
    @ApiModelProperty(value = "信用卡")
    private Integer creditCard;
 
    @ApiModelProperty(value = "贷款金额 单位元")
    private Double loanAmount;
 
    @ApiModelProperty(value = "贷款期数")
    private Integer loanTerm;
 
    @ApiModelProperty(value = "预审批贷款金额")
    private Double approvalLoanAmount;
 
    @ApiModelProperty(value = "预审批贷款期数")
    private Integer approvalLoanTerm;
 
    @ApiModelProperty(value = "申请时间")
    private Date applyDate;
 
    @ApiModelProperty(value = "邮箱")
    private String email;
 
    @ApiModelProperty(value = "婚姻情况0-未婚 1-已婚")
    private String maritalStatus;
 
    @ApiModelProperty(value = "借款用途")
    private String useOfLoan;
 
    @ApiModelProperty(value = "月收入")
    private Integer monthlyIncome;
 
    @ApiModelProperty(value = "详细地址")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String address;
 
    @ApiModelProperty(value = "大额贷款额度")
    private Integer largeLoanAmount;
 
    @ApiModelProperty(value = "企业信息")
    private Integer enterpriseInfo;
 
    @ApiModelProperty(value = "来源渠道")
    private String sourceChannel;
 
    @ApiModelProperty(value = "工资代发")
    private Integer payrollAgency;
 
    @ApiModelProperty(value = "工作状态")
    private Integer workStatus;
 
    @ApiModelProperty(value = "微粒贷额度")
    private Integer microLoan;
 
    @ApiModelProperty(value = "房产属性")
    private Integer houseAttributes;
 
    @ApiModelProperty(value = "房产付款类型")
    private Integer housePayment;
 
    /**
     * OCR资料部分
     */
    @ApiModelProperty(value = "身份证正面照片路径")
    private String idCardFrontPath;
 
    @ApiModelProperty(value = "身份证背面照片路径")
    private String idCardBackPath;
 
    @ApiModelProperty(value = "活检照片")
    private String facePhotoPath;
 
    @ApiModelProperty(value = "年龄")
    private Integer age;
 
    @ApiModelProperty(value = "性别")
    private String sex;
 
    @ApiModelProperty(value = "国籍")
    private String nationality;
 
    @ApiModelProperty(value = "民族")
    private String nation;
 
    @ApiModelProperty(value = "出生日期")
    private String birthday;
 
    @ApiModelProperty(value = "户籍地址")
    private String idAddress;
 
    @ApiModelProperty(value = "身份证地址(ORC)")
    private String idCardAddress;
 
    @ApiModelProperty(value = "签发机关")
    private String signOrganization;
 
    @ApiModelProperty(value = "有效期起始时间")
    private String idValidDateBegin;
 
    @ApiModelProperty(value = "有效期结束时间")
    private String idValidDateEnd;
 
    @ApiModelProperty(value = "长期身份证")
    private String idLongTerm;
 
    @ApiModelProperty(value = "活体检测分")
    private String verifySimilarity;
 
    @ApiModelProperty(value = "活体检测服务商")
    private String verifySimilarityName;
 
    /**
     * 设备资料部分
     */
    @ApiModelProperty(value = "登录设备IP")
    private String clientIp;
 
    @ApiModelProperty(value = "手机设备id")
    private String deviceId;
 
    @ApiModelProperty(value = "操作系统")
    private String os;
 
    @ApiModelProperty(value = "app来源信息")
    private String channelInfo;
 
    @ApiModelProperty(value = "设备唯一编码")
    private String imei;
 
    @ApiModelProperty(value = "androidId")
    private String androidId;
 
    @ApiModelProperty(value = "是否root或越狱")
    private Integer isRoot;
 
    @ApiModelProperty(value = "当前用户请求时的IP")
    private String ipAddres;
 
    @ApiModelProperty(value = "IP解析后阿里云的城市")
    private String ipCityRaw;
 
    @ApiModelProperty(value = "IP解析后对应的系统内城市ID")
    private String ipCityMapped;
 
    @ApiModelProperty(value = "设备版本号")
    private String deviceOsVersion;
 
    @ApiModelProperty(value = "SIM卡插卡状态 Y:插卡,N:无卡")
    private String simCardStatus;
 
    @ApiModelProperty(value = "是否为模拟器 Y:是模拟器,N:非模拟器")
    private String isEmulator;
 
    @ApiModelProperty(value = "经度")
    private String lng;
 
    @ApiModelProperty(value = "纬度")
    private String lat;
 
    @ApiModelProperty(value = "Mac")
    private String mac;
 
    @ApiModelProperty(value = "IDFA标识")
    private String idfa;
 
    @ApiModelProperty(value = "identifierForVendor")
    private String idfv;
 
    @ApiModelProperty(value = "Gps省")
    private String gpsProvince;
 
    @ApiModelProperty(value = "Gps市")
    private String gpsCity;
 
    @ApiModelProperty(value = "Gps区")
    private String gpsArea;
 
    /**
     * 资金方资料部分
     */
 
    @ApiModelProperty(value = "授信编号")
    private String creditNo;
 
    @ApiModelProperty(value = "其他联系人关系")
    private String contactRelation;
 
    @ApiModelProperty(value = "学历")
    private String education;
 
    @ApiModelProperty(value = "亲属关系 0-父母 1-子女")
    private String relationship;
 
    @ApiModelProperty(value = "直系亲属姓名")
    private String relationshipName;
 
    @ApiModelProperty(value = "直系亲属手机号")
    private String relationshipPhone;
 
    @ApiModelProperty(value = "亲属1关系 0-父母 1-子女")
    private String relationship1;
 
    @ApiModelProperty(value = "直系亲属1姓名")
    private String relationship1Name;
 
    @ApiModelProperty(value = "直系亲属1手机号")
    private String relationship1Phone;
 
    @ApiModelProperty(value = "普通联系人姓名")
    private String contactName;
 
    @ApiModelProperty(value = "普通联系人手机号")
    private String contactPhone;
 
    @ApiModelProperty(value = "普通联系人1姓名")
    private String contact1Name;
 
    @ApiModelProperty(value = "普通联系人1手机号")
    private String contact1Phone;
 
    @ApiModelProperty(value = "职业")
    private String occupation;
 
    @ApiModelProperty(value = "单位名称")
    private String companyName;
 
    @ApiModelProperty(value = "单位所在省")
    private String companyProvince;
 
    @ApiModelProperty(value = "单位所在市")
    private String companyCity;
 
    @ApiModelProperty(value = "单位所在区")
    private String companyArea;
 
    @ApiModelProperty(value = "单位详细地址")
    private String companyAddress;
 
    @ApiModelProperty(value = "本单位工作开始时间")
    private String workStartTime;
 
    @ApiModelProperty(value = "本单位工作结束时间")
    private String workEndTime;
 
    @ApiModelProperty(value = "居住省")
    private String liveProvince;
 
    @ApiModelProperty(value = "居住区")
    private String liveArea;
 
    @ApiModelProperty(value = "居住城市")
    private String liveCity;
 
    @ApiModelProperty(value = "职务")
    private String jobTitle;
 
    @ApiModelProperty(value = "公司所属行业")
    private String companyTrade;
 
    @ApiModelProperty(value = "公司性质")
    private String companyNature;
 
    @ApiModelProperty(value = "家庭月收入")
    private Double familyMonthlyIncome;
 
    @ApiModelProperty(value = "配偶身份证信息")
    private String certNo;
 
    @ApiModelProperty(value = "配偶公司")
    private String contactCompany;
 
    @ApiModelProperty(value = "居住房类型")
    private String livest;
 
    @ApiModelProperty(value = "公司电话")
    private String companyPhone;
 
    /**
     * 银行卡信息部分
     */
    @ApiModelProperty(value = "银行卡号")
    private String cardNo;
 
    @ApiModelProperty(value = "发卡行银行码")
    private String bankCode;
 
    @ApiModelProperty(value = "银行名称")
    private String bankName;
 
    @ApiModelProperty(value = "银行预留手机号")
    private String bankPhoneNo;
 
    @ApiModelProperty(value = "银行户名")
    private String bankCardName;
 
    /**
     * 还款计划资料
     */
 
    @ApiModelProperty(value = "还款计划-还款方式")
    private Integer repayType;
 
    @ApiModelProperty(value = "还款计划-借款金额")
    private Integer repayAmount;
 
    @ApiModelProperty(value = "还款计划-还款期数")
    private Integer repayTerm;
 
    @ApiModelProperty(value = "还款计划-借款用途")
    private String repayLoanPurpose;
 
    @ApiModelProperty(value = "还款计划-还款计划日")
    private Integer repayPlanDay;
 
    @ApiModelProperty(value = "还款计划-还款利率")
    private Integer repayQuotaRate;
 
    @ApiModelProperty(value = "还款计划-提交日期")
    private Date repayApplyDate;
 
    @ApiModelProperty(value = "是否填写还款计划")
    private Integer hasRepayPlan;
 
    @ApiModelProperty(value = "设备厂商")
    private String deviceBrand;
 
    @ApiModelProperty(value = "系统型号")
    private String systemModel;
 
    @ApiModelProperty(value = "居住区code")
    private String liveAreaCode;
 
    @ApiModelProperty(value = "单位所在区code")
    private String companyAreaCode;
 
    @ApiModelProperty(value = "ocr是否识别成功 0为否 1为是")
    private Integer isDistinguishOcr;
 
    //增加申请时的appName
    @ApiModelProperty(value = "app应用名")
    private String appName;
 
    @ApiModelProperty(value = "标识 0为中诚易借;1为微客")
    private Integer mark;
 
    @ApiModelProperty(value = "流量方的订单号")
    private String orderNo;
 
    @ApiModelProperty(value = "人脸完成时间")
    private DateTime faceTime;
 
    @ApiModelProperty(value = "置信度阈值")
    private String thresholds;
 
    @ApiModelProperty(value = "年收入")
    private Integer annualIncome;
 
    @ApiModelProperty(value = "学位")
    private String degree;
 
    @ApiModelProperty(value = "经度纬度坐标类型(wgs84/gcj02/bd09II)")
    private String coordinateType;
 
    @ApiModelProperty(value = "网络类型")
    private String networkType;
 
    @ApiModelProperty(value = "姓名(OCR)", required = true)
    private String OrcName;
 
    @ApiModelProperty(value = "身份证号(OCR)", required = true)
    private String OrcIdCardNo;
 
    @ApiModelProperty(value = "子女状况", required = true)
    private Integer children;
 
    @ApiModelProperty(value = "住宅电话", required = true)
    private String homePhone;
}