ab
2024-11-05 bead00668eebce8d39d027515d564376de2f5978
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
package com.nova.sankuai.domain.dto.zhongzan;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
 
@ApiModel(value = "基础信息DTO")
@Data
public class BaseInfo {
    @ApiModelProperty(value = "教育程度", required = true, notes = "5:博士及以上, 4:硕士, 3:本科, 2:专科, 1:高中/中专, 0:初中及以下" )
    private Integer education;
 
    @ApiModelProperty(value = "婚姻状况", required = true, notes = "0:未婚, 1:已婚无子女, 2:已婚有子女, 3:离异, 4:再婚, 5:丧偶 必传")
    private Integer marriage;
 
    @ApiModelProperty(value = "职业类别", required = true, notes = "1:上班族, 3:企业主, 4:个体工商, 5:事业单位, 2:自由职业者")
    private Integer job;
 
    @ApiModelProperty(value = "工作单位", notes = "最少4个字符,默认私营业主,必传")
    private String workUnitName;
 
    @ApiModelProperty(value = "工作地址", notes = "最少4个字符,默认居住地址,必传")
    @Length(min = 4, message = "最少4个字符")
    private String workUnitAddress;
 
    @ApiModelProperty(value = "详细居住地址", notes = "最少4个字符,默认居住地址,必传")
    @Length(min = 4, message = "最少4个字符")
    private String homeAddress;
 
    @ApiModelProperty(value = "行业", required = true, notes = "0:批发/零售, 1:制造业, 2:金融/保险/证券, 3:住宿/餐饮/旅游, 4:商业服务/娱乐/艺术/体育, 5:计算机/互联网, 6:通讯电子, 7:建筑/房地产, 8:法律/咨询, 9:卫生/教育/社会服务, 10:公共事业/社会团体, 11:生物/制药, 12:广告/媒体, 13:能源, 14:贸易, 15:交通运输/仓储/物流, 16:农业/化工/金属冶炼, 17:其他行业")
    private Integer industry;
 
    @ApiModelProperty(value = "月收入", required = true, notes = "1:0-3000, 2:3000-6000, 3:6000-10000, 4:10000-15000, 5:15000-20000, 6:20000以上必传,默认传3:6000-10000")
    private Integer monthlyIncome;
 
    @ApiModelProperty(value = "电子邮箱", notes = "最少4个字符,默认私营业主,必传")
    private String email;
 
    @ApiModelProperty(value = "借款用途", notes = "0:日常消费, 1:装修, 2:医疗, 3:教育, 4:旅游, 5:其他")
    private String loanPurpose;
 
 
}