3 天以前 b852254d90e7d1955db31db154193ec8ee84d8b3
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
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;
 
}