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; } }