package cn.iocoder.yudao.module.hrm.controller.admin.training.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@Schema(description = "管理后台 - HRM 培训活动 Response VO")
|
@Data
|
public class HrmTrainingRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long id;
|
|
@Schema(description = "培训编号", example = "PX202409080001")
|
private String trainingNo;
|
|
@Schema(description = "培训名称", example = "2026年度电力安全培训")
|
private String name;
|
|
@Schema(description = "培训类型(1=安全培训,2=技能培训,3=管理培训,4=其他)", example = "1")
|
private Integer trainingType;
|
|
@Schema(description = "培训类型名称", example = "安全培训")
|
private String trainingTypeName;
|
|
@Schema(description = "讲师", example = "张工")
|
private String trainer;
|
|
@Schema(description = "培训地点", example = "安全培训室")
|
private String location;
|
|
@Schema(description = "培训学时", example = "8")
|
private BigDecimal hours;
|
|
@Schema(description = "开始日期")
|
private LocalDate startDate;
|
|
@Schema(description = "结束日期")
|
private LocalDate endDate;
|
|
@Schema(description = "是否自动发证(0=否,1=是)", example = "true")
|
private Boolean issueCertificate;
|
|
@Schema(description = "证书有效期(月)", example = "12")
|
private Integer certValidityMonths;
|
|
@Schema(description = "状态(0=草稿,10=待开展,20=已完成,30=已取消)", example = "10")
|
private Integer status;
|
|
@Schema(description = "状态名称", example = "待开展")
|
private String statusName;
|
|
@Schema(description = "参训人数", example = "5")
|
private Integer participantCount;
|
|
@Schema(description = "参训人员列表(详情接口返回)")
|
private List<HrmTrainingParticipantRespVO> participants;
|
|
@Schema(description = "备注", example = "年度例行培训")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
private LocalDateTime createTime;
|
|
}
|