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;
|
|
}
|