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