EventStatusEnum.java
445 Bytes
package vion.constant;
public enum EventStatusEnum {
UNKNOWN((short) -1, "未知"),
SUCCESS((short) 1, "成功"),
FAIL((short) 0, "失败"),
;
private final Short code;
private final String desc;
EventStatusEnum(Short code, String desc) {
this.code = code;
this.desc = desc;
}
public Short getCode() {
return code;
}
public String getDesc() {
return desc;
}
}