Merge branch 'dev' of http://47.94.165.164:13000/geg-gas/geg-gas-pcitc into dev
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user