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.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 安全生产 - 培训参训人员 DO
 *
 * 含签到情况与考试成绩
 *
 * @author 超级管理员
 */
@TableName("mes_safety_training_attendee")
@KeySequence("mes_safety_training_attendee_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesSafetyTrainingAttendeeDO extends BaseDO {
 
    /** 签到状态:未签到 */
    public static final Integer SIGN_NONE = 0;
    /** 签到状态:已签到 */
    public static final Integer SIGN_DONE = 1;
    /** 签到状态:迟到 */
    public static final Integer SIGN_LATE = 2;
    /** 签到状态:缺席 */
    public static final Integer SIGN_ABSENT = 3;
 
    /** 考试结果:未考 */
    public static final Integer PASS_NONE = 0;
    /** 考试结果:通过 */
    public static final Integer PASS_YES = 1;
    /** 考试结果:不通过 */
    public static final Integer PASS_NO = 2;
 
    @TableId
    private Long id;
 
    /**
     * 培训批次编号
     */
    private Long trainingId;
 
    /**
     * 参训人编号
     */
    private Long userId;
 
    /**
     * 所属部门编号
     */
    private Long deptId;
 
    /**
     * 签到状态:0未签到 1已签到 2迟到 3缺席
     */
    private Integer signStatus;
 
    /**
     * 签到时间
     */
    private LocalDateTime signTime;
 
    /**
     * 考试成绩
     */
    private BigDecimal score;
 
    /**
     * 是否通过:0未考 1通过 2不通过
     */
    private Integer passed;
 
    /**
     * 备注
     */
    private String remark;
 
}