This commit is contained in:
2025-10-22 16:49:10 +08:00

View File

@ -0,0 +1,28 @@
package com.pictc.enums;
/**
* @Author: zbz
* @Date: 2023/3/1 15:12
*/
public enum ValidEnum {
ENABLE("Y", "有效"),
DISABLE("N", "无效");
final String code;
final String value;
public String getCode() {
return this.code;
}
public String getValue() {
return this.value;
}
ValidEnum(final String code, final String message) {
this.code = code;
this.value = message;
}
}