tuqin
7 天以前 de754f277f7cef20206c5f30fee6e033c426a554
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package cn.iocoder.yudao.module.mes.dal.dataobject.safety;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.time.LocalDate;
 
/**
 * 安全生产 - 安全资格证书 DO
 *
 * 特种作业操作证、安全管理人员证等,含有效期用于到期提醒
 *
 * @author 超级管理员
 */
@TableName("mes_safety_certificate")
@KeySequence("mes_safety_certificate_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesSafetyCertificateDO extends BaseDO {
 
    /** 状态:有效 */
    public static final Integer STATUS_VALID = 1;
    /** 状态:已作废 */
    public static final Integer STATUS_INVALID = 0;
 
    @TableId
    private Long id;
 
    /**
     * 持证人编号
     */
    private Long userId;
 
    /**
     * 所属部门编号
     */
    private Long deptId;
 
    /**
     * 证书类型
     *
     * 字典 mes_safety_cert_type:1特种作业操作证 2安全管理人员证 3主要负责人证 4其他资格证
     */
    private Integer certType;
 
    /**
     * 证书编号
     */
    private String certNo;
 
    /**
     * 发证机关
     */
    private String issueOrg;
 
    /**
     * 发证日期
     */
    private LocalDate issueDate;
 
    /**
     * 有效期至(为空表示长期有效)
     */
    private LocalDate expireDate;
 
    /**
     * 状态:1有效 0已作废
     */
    private Integer status;
 
    /**
     * 证书扫描件地址
     */
    private String attachmentUrl;
 
    /**
     * 备注
     */
    private String remark;
 
}