通话逻辑
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package com.ruoyi.cai.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 系统动态配置枚举
|
||||
* <p>created on 2022/8/18 17:15</p>
|
||||
*
|
||||
* @author ZL
|
||||
*/
|
||||
public enum SystemConfigEnum {
|
||||
GUARD_PRICE("1314", "守护价格"),
|
||||
|
||||
;
|
||||
|
||||
|
||||
@Getter
|
||||
private final String defaultValue;
|
||||
|
||||
@Getter
|
||||
private final String desc;
|
||||
|
||||
SystemConfigEnum(String defaultValue, String desc) {
|
||||
this.defaultValue = defaultValue;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
return this.name();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user