This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
package top.crushtj.framework.common.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author ayi
|
||||
* @version V1.0
|
||||
* @title DeleteEnum
|
||||
* @date 2026/01/18 21:15
|
||||
* @description 删除标记
|
||||
*/
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum DeleteEnum {
|
||||
YES(true),
|
||||
NO(false);
|
||||
|
||||
private final Boolean value;
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package top.crushtj.framework.common.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author ayi
|
||||
* @version V1.0
|
||||
* @title StatusEnum
|
||||
* @date 2026/01/18
|
||||
* @description 状态
|
||||
*/
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum StatusEnum {
|
||||
ENABLED(1),
|
||||
DISABLED(0);
|
||||
|
||||
private final Integer value;
|
||||
}
|
||||
Reference in New Issue
Block a user