Administrator
2022-06-07 2879b560fe53998eef383f9d537144b72801586b
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
package org.springblade.modules.accreditation.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 制证记录实体类
 * @author zhongrj
 * @time 2021-11-3
 */
@Data
@TableName("sys_accreditation_records")
public class AccreditationRecords implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 制证记录主键id,非自增
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 制证人 user_id
     */
    @TableField("user_id")
    private Long userId;
 
    /**
     * 制证人 组织机构id
     */
//    @TableField("dept_id")
//    private Long deptId;
 
    /**
     * 申请时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    /**
     * 创建人
     */
    @TableField("create_user")
    private String createUser;
 
    /**
     * 状态 1:未制证  2:已制证
     */
    private Integer status;
 
    /**
     * 制证时间
     */
    @TableField("accreditation_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date accreditationTime;
 
    /**
     * 状态 1:上岗证  2:证书
     */
    private Integer type;
 
    /**
     * 审核状态  1:待审核   2:审核通过   3:审核不通过
     */
    @TableField("audit_status")
    private Integer auditStatus;
 
    /**
     * 审核时间
     */
    @TableField("audit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
 
    /**
     * 审核详情
     */
    @TableField("audit_detail")
    private String auditDetail;
 
    /**
     * 审核人员id
     */
    @TableField("audit_user")
    private Long auditUser;
 
    /**
     * 证书打印时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date paperTime;
}