liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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
package com.ruoyi.safe.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
 
import jakarta.validation.constraints.NotBlank;
 
/**
 * <p>
 * 安全生产--安全培训考核
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-01-29 10:54:06
 */
@Getter
@Setter
@TableName("safe_training")
@Schema(name = "SafeTraining对象", description = "安全生产--安全培训考核")
public class SafeTraining implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "课程编号")
    private String courseCode;
 
    @Schema(description = "培训目标")
    private String trainingObjectives;
 
    @Schema(description = "培训内容")
    private String trainingContent;
 
    @Schema(description = "培训方式")
    private String trainingMode;
 
    @Schema(description = "状态(0:未开始1:进行中;2:已结束)")
    private Integer state;
 
    @Schema(description = "参加对象")
    private String participants;
 
    @Schema(description = "培训地点")
    private String placeTraining;
 
    @Schema(description = "培训讲师")
    private String trainingLecturer;
 
    @Schema(description = "培训日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @NotBlank(message = "培训日期不能为空")
    private LocalDate trainingDate;
 
    @Schema(description = "开始时间(时分秒)")
    @NotBlank(message = "开始时间不能为空")
    private String openingTime;
 
    @Schema(description = "结束时间(时分秒)")
    @NotBlank(message = "结束时间不能为空")
    private String endTime;
 
    @Schema(description = "课题学分")
    private String projectCredits;
 
    @Schema(description = "课时")
    private Double classHour;
 
    @Schema(description = "考核方式")
    private String assessmentMethod;
 
    @Schema(description = "本次培训综合评价")
    private String comprehensiveAssessment;
 
    @Schema(description = "备注")
    private String remarks;
 
    @Schema(description = "评价人id")
    private Integer assessmentUserId;
 
    @Schema(description = "评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate assessmentDate;
 
    @Schema(description = "培训摘要")
    private String trainingAbstract;
 
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}