mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.common.model.dtos.community;
 
import java.util.Date;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
 
import org.hibernate.validator.constraints.Length;
 
import com.fasterxml.jackson.annotation.JsonFormat;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * 创建表单
 *
 * @author cedoo email:cedoo(a)qq.com
 * @version 1.0
 * @since 1.0
 */
@Data
@ApiModel("创建高龄认证请求参数")
public class EldersAuthAddDTO {
 
    @NotBlank()
    @Length(max = 18)
    @ApiModelProperty(value = "身份证", hidden = false, example = "")
    private String idCard;
 
    @Length(max = 32)
    @NotBlank()
    @ApiModelProperty(value = "认证人姓名", hidden = false, example = "")
    private String authUserName;
 
    @Length(max = 1024)
    @NotBlank()
    @ApiModelProperty(value = "视频地址", hidden = false, example = "")
    private String videoUrl;
 
    @Max(9223372036854775807L)
    @ApiModelProperty(value = "提交人", hidden = true, example = "1")
    private Long sumitUserId;
 
    @Length(max = 1024)
    @ApiModelProperty(value = "户籍地", hidden = false, example = "")
    private String domicile;
 
    @Length(max = 1)
    @ApiModelProperty(value = "状态", hidden = false, example = "")
    private String status;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "出生日期", hidden = false, example = "2021-05-01 18:05:50")
    private Date birthDay;
 
    @ApiModelProperty(value = "用户ID", hidden = true, example = "")
    private Long userId;
 
}