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;
|
|
}
|