tuqin
7 天以前 c35bd84886fb0c4e4ee0ffeeb3819a8a8df532b5
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
62
63
64
package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.certificate;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 安全生产-资格证书 Response VO")
@Data
public class MesSafetyCertificateRespVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "持证人编号", example = "1")
    private Long userId;
 
    @Schema(description = "持证人姓名")
    private String userName;
 
    @Schema(description = "所属部门编号", example = "120")
    private Long deptId;
 
    @Schema(description = "所属部门名称")
    private String deptName;
 
    @Schema(description = "证书类型", example = "1")
    private Integer certType;
 
    @Schema(description = "证书编号", example = "T123456789")
    private String certNo;
 
    @Schema(description = "发证机关")
    private String issueOrg;
 
    @Schema(description = "发证日期")
    private LocalDate issueDate;
 
    @Schema(description = "有效期至")
    private LocalDate expireDate;
 
    @Schema(description = "距到期天数(负数表示已过期)", example = "180")
    private Long daysToExpire;
 
    @Schema(description = "是否已过期", example = "false")
    private Boolean expired;
 
    @Schema(description = "是否即将到期(30 天内)", example = "false")
    private Boolean expiringSoon;
 
    @Schema(description = "状态:1有效 0已作废", example = "1")
    private Integer status;
 
    @Schema(description = "证书扫描件地址")
    private String attachmentUrl;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}