init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package io.v.nutz.base.enums;
|
||||
|
||||
import io.v.nutz.base.annontation.SelectEnum;
|
||||
|
||||
@SelectEnum
|
||||
public enum AuditTypeEnum {
|
||||
AUDIT(0, "审核"),
|
||||
REJECT(1, "拒绝"),
|
||||
NODE_PASS(2, "节点通过"),
|
||||
PROCESS_PASS(3, "流程通过");
|
||||
|
||||
public Integer value;
|
||||
public String desc;
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
|
||||
private AuditTypeEnum(Integer value, String desc) {
|
||||
this.value = value;
|
||||
this.desc = desc;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package io.v.nutz.base.enums;
|
||||
|
||||
public enum Env {
|
||||
dev,
|
||||
prod;
|
||||
|
||||
private Env() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user