|
@@ -3,23 +3,18 @@ package com.ym.mec.biz.dal.enums;
|
|
|
import com.ym.mec.common.enums.BaseEnum;
|
|
|
|
|
|
public enum MusicGroupStatusEnum implements BaseEnum<String, MusicGroupStatusEnum> {
|
|
|
- DRAFT("DRAFT", "草稿"), FEE_AUDIT("FEE_AUDIT","费用审核中"), AUDIT("AUDIT", "审核中"),
|
|
|
- AUDIT_FAILED("AUDIT_FAILED", "审核失败"), APPLY("APPLY", "报名中"),
|
|
|
- PAY("PAY", "缴费中"), PREPARE("PREPARE", "筹备中"),
|
|
|
- PROGRESS("PROGRESS", "进行中"), CANCELED("CANCELED", "取消"), PAUSE("PAUSE", "暂停"),
|
|
|
- CLOSE("CLOSE", "关闭");
|
|
|
+ DRAFT("草稿"), AUDIT("审核中"), AUDIT_FAILED("审核失败"), PRE_APPLY("预报名"), FEE_AUDIT("费用审核中"), APPLY("报名中"), PAY("缴费中"), PREPARE("筹备中"), PROGRESS(
|
|
|
+ "进行中"), CANCELED("取消"), PAUSE("暂停"), CLOSE("关闭");
|
|
|
|
|
|
- private String code;
|
|
|
private String msg;
|
|
|
|
|
|
- MusicGroupStatusEnum(String code, String msg) {
|
|
|
- this.code = code;
|
|
|
+ MusicGroupStatusEnum(String msg) {
|
|
|
this.msg = msg;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public String getCode() {
|
|
|
- return this.code;
|
|
|
+ return this.name();
|
|
|
}
|
|
|
|
|
|
public String getMsg() {
|