Archived
forked from admin/userbase
init: userbase front/service/deploy source (CI builds front via Gitea Actions)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.yunhai.userbase.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author chenx
|
||||
* @date 2026/07/25
|
||||
* @description 操作模式枚举(应用授权等场景:追加/覆盖/删除)
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum SysModeEnum implements IEnum<Integer> {
|
||||
|
||||
APPEND(0, "追加"),
|
||||
OVERWRITE(1, "覆盖"),
|
||||
DELETE(2, "删除");
|
||||
|
||||
private Integer key;
|
||||
private String value;
|
||||
|
||||
@Override
|
||||
public Integer getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user