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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
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.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 安全生产 - 培训批次 DO
 *
 * @author 超级管理员
 */
@TableName("mes_safety_training")
@KeySequence("mes_safety_training_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesSafetyTrainingDO extends BaseDO {
 
    /** 状态:计划中 */
    public static final Integer STATUS_PLANNED = 0;
    /** 状态:进行中 */
    public static final Integer STATUS_ONGOING = 10;
    /** 状态:已完成 */
    public static final Integer STATUS_FINISHED = 20;
    /** 状态:已取消 */
    public static final Integer STATUS_CANCELED = 30;
 
    @TableId
    private Long id;
 
    /**
     * 培训编号
     */
    private String code;
 
    /**
     * 培训主题
     */
    private String title;
 
    /**
     * 培训类型
     *
     * 字典 mes_safety_training_type:1三级安全教育 2专项培训 3复训 4日常安全教育 5其他
     */
    private Integer trainingType;
 
    /**
     * 培训层级
     *
     * 字典 mes_safety_training_level:1公司级 2车间级 3班组级
     */
    private Integer trainingLevel;
 
    /**
     * 讲师 / 授课人
     */
    private String trainer;
 
    /**
     * 讲师单位(外部讲师时填写)
     */
    private String trainerOrg;
 
    /**
     * 培训地点
     */
    private String location;
 
    /**
     * 培训开始时间
     */
    private LocalDateTime startTime;
 
    /**
     * 培训结束时间
     */
    private LocalDateTime endTime;
 
    /**
     * 学时
     */
    private BigDecimal durationHours;
 
    /**
     * 培训内容
     */
    private String content;
 
    /**
     * 培训资料 / 教材
     */
    private String material;
 
    /**
     * 状态:0计划中 10进行中 20已完成 30已取消
     */
    private Integer status;
 
    /**
     * 参训人数(冗余统计)
     */
    private Integer attendeeCount;
 
    /**
     * 实到人数(冗余统计)
     */
    private Integer signedCount;
 
    /**
     * 考试平均分(冗余统计)
     */
    private BigDecimal avgScore;
 
    /**
     * 备注
     */
    private String remark;
 
}