@@ -0,0 +1,36 @@ | |||
package cn.com.taiji.core.entity.dict; | |||
/** | |||
* 停用启用 | |||
*/ | |||
public enum EnableStatus { | |||
ENABLE("启用", 1), | |||
DISABLE("停用", 0), | |||
; | |||
private String value; | |||
private Integer code; | |||
EnableStatus(String value, Integer code) { | |||
this.value = value; | |||
this.code = code; | |||
} | |||
public Integer getCode() { | |||
return code; | |||
} | |||
public void setCode(Integer code) { | |||
this.code = code; | |||
} | |||
public String getValue() { | |||
return value; | |||
} | |||
public void setValue(String value) { | |||
this.value = value; | |||
} | |||
} |
@@ -5,10 +5,10 @@ import lombok.Getter; | |||
@Getter | |||
public enum GlobalAutoStartEnum | |||
{ | |||
NONE("都不启动"),// | |||
NONE_EXCEPT("不启动除了EXCEPT"),// | |||
OPTION("取决于taskInfo的autoStart参数"),// | |||
ALL("全部启动"),// | |||
NONE("都不启动"), | |||
NONE_EXCEPT("不启动除了EXCEPT"), | |||
OPTION("取决于taskInfo的autoStart参数"), | |||
ALL("全部启动"), | |||
; | |||
private final String value; | |||