| | |
| | | public class GetIdentityEidTokenDTO { |
| | | |
| | | @ApiModelProperty(value = "认证类型(1.高龄认证 2.养老认证)", required = true, allowableValues = "1,2", example = "1") |
| | | @NotNull |
| | | @NotNull(message = "认证类型不能为空") |
| | | private Integer authType; |
| | | |
| | | @ApiModelProperty(value = "姓名", required = true, example = "张三") |
| | | @Sensitive(strategy = SensitiveStrategy.USERNAME) |
| | | @NotBlank |
| | | @NotBlank(message = "姓名不能为空") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "身份证号", required = true, example = "511321199503241233") |
| | | @Sensitive(strategy = SensitiveStrategy.ID_CARD) |
| | | @EncryptDecryptField |
| | | @NotBlank |
| | | @Size(min = 18, max = 18) |
| | | @NotBlank(message = "身份证号码不能为空") |
| | | @Size(min = 18, max = 18, message = "请输入18位有效身份证号") |
| | | private String idCard; |
| | | } |