package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.training; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; @Schema(description = "管理后台 - 安全生产-参训人员 保存 Request VO") @Data public class MesSafetyTrainingAttendeeSaveReqVO { @Schema(description = "编号", example = "1024") private Long id; @Schema(description = "培训批次编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") @NotNull(message = "培训批次不能为空") private Long trainingId; @Schema(description = "参训人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") @NotNull(message = "参训人不能为空") private Long userId; @Schema(description = "所属部门编号", example = "120") private Long deptId; @Schema(description = "签到状态:0未签到 1已签到 2迟到 3缺席", example = "0") private Integer signStatus; @Schema(description = "签到时间") private LocalDateTime signTime; @Schema(description = "考试成绩", example = "88") private BigDecimal score; @Schema(description = "是否通过:0未考 1通过 2不通过", example = "0") private Integer passed; @Schema(description = "备注") private String remark; }