feat(文档拆分): 枚举
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.jero.modules.split.enums;
|
||||
|
||||
/**
|
||||
* @Author: 31318
|
||||
* @Date: 2023/10/11/17:46
|
||||
* @Description:
|
||||
*/
|
||||
public enum SplitEnum {
|
||||
SPLIT_STATUS1("1","编辑中"),
|
||||
SPLIT_STATUS2("2","已发布");
|
||||
|
||||
private String value;
|
||||
private String lable;
|
||||
|
||||
|
||||
private SplitEnum(String value, String lable) {
|
||||
this.value = value;
|
||||
this.lable = lable;
|
||||
}
|
||||
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
public String getLable() {
|
||||
return lable;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user