Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -16,12 +16,12 @@ public interface SystemConstants {
|
||||
* 是否:是
|
||||
* 状态:允许,开启
|
||||
*/
|
||||
public static final Integer ONE = 1;
|
||||
public static final int ONE = 1;
|
||||
/**
|
||||
* 是否:否
|
||||
* 状态:进制,关闭
|
||||
*/
|
||||
public static final Integer ZERO = 0;
|
||||
public static final int ZERO = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.czg.enums;
|
||||
|
||||
/**
|
||||
* 逻辑删除枚举
|
||||
*
|
||||
* @author tankaikai
|
||||
* @since 2025-02-11 14:55
|
||||
*/
|
||||
public enum DeleteEnum {
|
||||
/**
|
||||
* 是(删除)
|
||||
*/
|
||||
DELETED(1),
|
||||
/**
|
||||
* 否(未删除)
|
||||
*/
|
||||
NORMAL(0);
|
||||
|
||||
private int value;
|
||||
|
||||
DeleteEnum(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.czg.enums;
|
||||
|
||||
/**
|
||||
* 有效状态枚举
|
||||
* @author tankaikai
|
||||
* @since 2025-02-11 14:54
|
||||
*/
|
||||
public enum StatusEnum {
|
||||
/**
|
||||
* 禁用状态
|
||||
*/
|
||||
DISABLE(0),
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
ENABLED(1);
|
||||
|
||||
private final int value;
|
||||
|
||||
StatusEnum(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.czg.enums;
|
||||
|
||||
/**
|
||||
* 是否枚举
|
||||
* @author tankaikai
|
||||
* @since 2025-02-11 14:56
|
||||
*/
|
||||
public enum YesNoEnum {
|
||||
/**
|
||||
* 是(删除)
|
||||
*/
|
||||
YES(1),
|
||||
/**
|
||||
* 否(未删除)
|
||||
*/
|
||||
NO(0);
|
||||
|
||||
private int value;
|
||||
|
||||
YesNoEnum(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user