xiaoyong931011
2023-06-05 428fcf8bc1dfe7785634eee4f951fa856006cfe8
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
package cc.mrbird.febs.dapp.enumerate;
 
import lombok.Getter;
 
/**
 * 节点编码枚举
 */
@Getter
public enum NodeCodeEnum {
    NODE_1("NODE_CODE", "node_1"),
    NODE_2("NODE_CODE", "node_2"),
    NODE_3("NODE_CODE", "node_3"),
    NODE_4("NODE_CODE", "node_4"),
    NODE_5("NODE_CODE", "node_5"),
    SUPER_NODE("NODE_CODE", "super_node");
 
    private String type;
 
    private String code;
 
    NodeCodeEnum(String type, String code) {
        this.type = type;
        this.code = code;
    }
}