刘光辉
8 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
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
package jnpf.tmsEntity.enums;
 
/**
 * 培训任务类别。
 * <p>字典:{@code tmsTaskCategory};字段:{@code tms_task.category}</p>
 */
public enum TmsTaskCategory implements TmsDictEnum {
 
    /** 临时培训 */
    TEMP("temp", "临时培训"),
    /** 岗位计划培训 */
    POST_PLAN("post_plan", "岗位计划"),
    /** 年度计划培训 */
    ANNUAL_PLAN("annual_plan", "年度计划"),
    /** 文件生效培训 */
    FILE_EFFECT("file_effect", "文件生效"),
    /** 外出培训 */
    OUT_TRAIN("out_train", "外出培训"),
    /** 补训/再培训 */
    RETRAIN("retrain", "补训");
 
    private final String code;
    private final String label;
 
    TmsTaskCategory(String code, String label) {
        this.code = code;
        this.label = label;
    }
 
    @Override
    public String getCode() {
        return code;
    }
 
    @Override
    public String getLabel() {
        return label;
    }
 
    public static TmsTaskCategory of(String code) {
        return TmsDictEnum.of(TmsTaskCategory.class, code);
    }
}