demo作成

This commit is contained in:
Zhang.WH
2025-02-20 19:00:33 +08:00
parent b53272714b
commit 62c2a8ac92
10 changed files with 308 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.constant;
/**
* 共同文言
*
* @author zwh
* @date 2025-02-20
*/
public class MessageConstants {
}

View File

@@ -9,16 +9,18 @@ public enum DelFlag {
/**
* 未删除
*/
NO("0", "未删除"),
NO(0, "0", "未删除"),
/**
* 已删除
*/
YES("1", "已删除");
YES(1, "1", "已删除");
private final Integer value;
private final String code;
private final String info;
DelFlag(String code, String info) {
DelFlag(Integer value, String code, String info) {
this.value = value;
this.code = code;
this.info = info;
}
@@ -30,4 +32,8 @@ public enum DelFlag {
public String getInfo() {
return info;
}
public Integer getValue() {
return value;
}
}