jinlin
2024-11-19 195bb5267a6ece13363303e177fee7d1fa3941aa
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
package com.zt.life.core.constant;
 
import com.zt.common.annotation.Dictionary;
import com.zt.common.constant.IDictionary;
 
@Dictionary(
        type = "node_type",
        name = "组织结构节点类型"
)
public enum NodeType implements IDictionary {
    Mode("L1", "型号"),
    Number("L2", "舷号"),
    System1("L3", "系统"),
    Device("L4", "设备");
 
    private String value;
    private String name;
 
    private NodeType(String value, String name) {
        this.value = value;
        this.name = name;
    }
 
    public String getValue() {
        return this.value;
    }
 
    public String getName() {
        return this.name;
    }
}