刘光辉
7 小时以前 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
package jnpf.tmsEntity.enums;
 
/**
 * 计划明细行状态(年度计划行 / 岗位计划行)。
 * <p>业务写入值,暂无独立字典编码。</p>
 */
public enum TmsPlanLineStatus implements TmsDictEnum {
 
    /** 已生成培训任务 */
    TASKED("tasked", "已下发任务"),
    /** 已完成 */
    DONE("done", "已完成");
 
    private final String code;
    private final String label;
 
    TmsPlanLineStatus(String code, String label) {
        this.code = code;
        this.label = label;
    }
 
    @Override
    public String getCode() {
        return code;
    }
 
    @Override
    public String getLabel() {
        return label;
    }
 
    public static TmsPlanLineStatus of(String code) {
        return TmsDictEnum.of(TmsPlanLineStatus.class, code);
    }
}