|
@@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.member.controller.admin.userpersonalcredit.vo;
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import jakarta.validation.constraints.NotEmpty;
|
|
|
-import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
@@ -16,7 +15,6 @@ public class UserPersonalCreditSaveReqVO {
|
|
|
private Long id;
|
|
|
|
|
|
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2698")
|
|
|
- @NotNull(message = "用户编号不能为空")
|
|
|
private Long userId;
|
|
|
|
|
|
@Schema(description = "报告编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
@@ -24,7 +22,6 @@ public class UserPersonalCreditSaveReqVO {
|
|
|
private String reportNumber;
|
|
|
|
|
|
@Schema(description = "报告时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotNull(message = "报告时间不能为空")
|
|
|
private String reportTime;
|
|
|
|
|
|
@Schema(description = "被查询者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
|
@@ -32,60 +29,48 @@ public class UserPersonalCreditSaveReqVO {
|
|
|
private String name;
|
|
|
|
|
|
@Schema(description = "被查询者证件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
|
- @NotEmpty(message = "被查询者证件类型不能为空")
|
|
|
private String idCardType;
|
|
|
|
|
|
@Schema(description = "被查询者证件号码", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "被查询者证件号码不能为空")
|
|
|
private String idCardNumber;
|
|
|
|
|
|
@Schema(description = "查询机构", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "查询机构不能为空")
|
|
|
private String queryOrganization;
|
|
|
|
|
|
@Schema(description = "查询原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不香")
|
|
|
- @NotEmpty(message = "查询原因不能为空")
|
|
|
private String queryReason;
|
|
|
|
|
|
@Schema(description = "异议信息提示")
|
|
|
private String disputeInfo;
|
|
|
|
|
|
@Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "性别不能为空")
|
|
|
private String gender;
|
|
|
|
|
|
@Schema(description = "出生日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotNull(message = "出生日期不能为空")
|
|
|
private String birthDate;
|
|
|
|
|
|
@Schema(description = "婚姻状况", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
- @NotEmpty(message = "婚姻状况不能为空")
|
|
|
private String maritalStatus;
|
|
|
|
|
|
@Schema(description = "就业状况", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
- @NotEmpty(message = "就业状况不能为空")
|
|
|
private String employmentStatus;
|
|
|
|
|
|
@Schema(description = "学历", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "学历不能为空")
|
|
|
private String education;
|
|
|
|
|
|
@Schema(description = "学位")
|
|
|
private String degree;
|
|
|
|
|
|
@Schema(description = "国籍", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "国籍不能为空")
|
|
|
private String nationality;
|
|
|
|
|
|
@Schema(description = "电子邮箱")
|
|
|
private String email;
|
|
|
|
|
|
@Schema(description = "通讯地址", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "通讯地址不能为空")
|
|
|
private String communicationAddress;
|
|
|
|
|
|
@Schema(description = "户籍地址", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @NotEmpty(message = "户籍地址不能为空")
|
|
|
private String householdAddress;
|
|
|
|
|
|
@Schema(description = "信贷交易业务类型", example = "1")
|