Sunshine
2024-11-04 919ed870ea1def0cfdd1dff23bec204975e7f34c
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
package com.nova.sankuai.domain.vo.platform;
 
import com.nova.sankuai.infra.validation.CheckPlatformEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
 
/**
 * <p>
 * 说明
 * </p>
 *
 * @author Zhangjc
 * @since 2021/11/18
 */
@ApiModel("三方系统调用用户信息同步时的参数")
@Data
public class ImportCustomerParameter {
    @ApiModelProperty("姓名")
    @NotBlank(message = "姓名不允许为空")
    @Length(max = 20, message = "姓名长度超长")
    private String name;
 
    @ApiModelProperty("年龄")
    @Max(value = 200, message = "年龄不正确")
    private Integer age;
 
    @ApiModelProperty("城市ID")
    @Pattern(regexp = "^\\d{12}$", message = "城市ID不正确")
    private String city;
 
    @ApiModelProperty("城市名称")
    @Length(max = 50, message = "城市名称超长")
    private String cityName;
 
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不允许为空")
    @Length(max = 20, message = "手机号超长")
    private String phone;
 
    @ApiModelProperty("渠道id,由三快分期平台提供")
    @NotBlank(message = "渠道id不允许为空")
    @Length(max = 50, message = "渠道id超长")
    private String appid;
 
    @ApiModelProperty("贷款金额")
    @CheckPlatformEnum(values = "largeLoanAmount", message = "贷款金额参数错误")
    private Integer largeLoanAmount;
 
    @ApiModelProperty("是否有公积金")
    @CheckPlatformEnum(values = "providentFund", message = "是否有公积金参数错误")
    private Integer providentFund;
 
    @ApiModelProperty("是否有房产")
    @CheckPlatformEnum(values = "houseStatus", message = "是否有房产参数错误")
    private Integer houseStatus;
 
    @ApiModelProperty("是否有车")
    @CheckPlatformEnum(values = "carStatus", message = "是否有车产参数错误")
    private Integer carStatus;
 
    @ApiModelProperty("是否有保单")
    @CheckPlatformEnum(values = "insurancePolicy", message = "是否有保单参数错误")
    private Integer insurancePolicy;
 
    @ApiModelProperty("是否有企业")
    @CheckPlatformEnum(values = "enterpriseInfo", message = "是否有企业参数错误")
    private Integer enterpriseInfo;
 
    @ApiModelProperty(value = "是否工资代发")
    @CheckPlatformEnum(values = "payrollAgency", message = "是否有工资代发错误")
    private Integer payrollAgency;
 
    @ApiModelProperty(value = "是否有工作")
    @CheckPlatformEnum(values = "workStatus", message = "是否有工作参数错误")
    private Integer workStatus;
 
    @ApiModelProperty(value = "是否有信用卡")
    @CheckPlatformEnum(values = "creditCard", message = "是否有信用卡参数错误")
    private Integer creditCard;
 
    @ApiModelProperty(value = "是否有社保")
    @CheckPlatformEnum(values = "socialSecurity", message = "是否有社保参数错误")
    private Integer socialSecurity;
 
    @ApiModelProperty(value = "职业信息")
    @CheckPlatformEnum(values = "professionInfo", message = "是否有职业信息参数错误")
    private Integer professionInfo;
 
    @ApiModelProperty(value = "芝麻分")
    @CheckPlatformEnum(values = "sesame", message = "是否有芝麻分参数错误")
    private Integer sesame;
 
    @ApiModelProperty(value = "婚姻情况")
    private String maritalStatus;
 
    @ApiModelProperty(value = "借款用途")
    private String useOfLoan;
 
    @ApiModelProperty(value = "月收入")
    @CheckPlatformEnum(values = "monthlyIncome", message = "是否有月收入参数错误")
    private Integer monthlyIncome;
 
    @ApiModelProperty(value = "微粒贷额度")
    @CheckPlatformEnum(values = "microLoan", message = "是否有微粒贷额度参数错误")
    private Integer microLoan;
 
    @ApiModelProperty(value = "房产属性")
    @CheckPlatformEnum(values = "houseAttributes", message = "是否有房产属性参数错误")
    private Integer houseAttributes;
 
    @ApiModelProperty(value = "房产付款类型")
    @CheckPlatformEnum(values = "housePayment", message = "是否有房产付款类型参数错误")
    private Integer housePayment;
 
    @ApiModelProperty(value = "学历")
    private String education;
 
    @ApiModelProperty(value = "贷款金额")
    private Double loanAmount;
 
    @ApiModelProperty(value = "贷款期数")
    private Integer loanTerm;
 
    @ApiModelProperty(value = "预审批贷款金额")
    private Double approvalLoanAmount;
 
    @ApiModelProperty(value = "预审批贷款期数")
    private Integer approvalLoanTerm;
 
    @ApiModelProperty(value = "亲属关系")
    private String relationship;
 
    @ApiModelProperty(value = "详细地址")
    private String address;
 
    @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 Integer syncChannelCode;
 
    @ApiModelProperty(value = "同步原始渠道名称")
    private String syncChannelName;
 
    @ApiModelProperty(value = "逻辑类型 0-正常逻辑 1-仅执行审批分流")
    private Integer businessType;
 
    @ApiModelProperty(value = "身份证号")
    private String idCard;
 
}