From 0741b87a03068c3b3454c8754d1019d1b4d6628e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E5=87=AF=E5=87=AF?= Date: Tue, 11 Feb 2025 14:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E6=89=8B=E6=9E=B6=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/czg/constant/GlobalConstant.java | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 cash-common/cash-common-tools/src/main/java/com/czg/constant/GlobalConstant.java diff --git a/cash-common/cash-common-tools/src/main/java/com/czg/constant/GlobalConstant.java b/cash-common/cash-common-tools/src/main/java/com/czg/constant/GlobalConstant.java new file mode 100644 index 00000000..762468c5 --- /dev/null +++ b/cash-common/cash-common-tools/src/main/java/com/czg/constant/GlobalConstant.java @@ -0,0 +1,54 @@ +package com.czg.constant; + +/** + * 全局常量类 + * @author tankaikai + * @since 2025-02-11 14:35 + */ +public interface GlobalConstant { + + /** + * 有效状态 + */ + interface Status { + /** + * 启用 + */ + int ENABLE = 1; + /** + * 禁用 + */ + int DISABLE = 0; + } + + /** + * 逻辑删除 + */ + interface IsDel { + /** + * 正常 + */ + int NORMAL = 0; + + /** + * 正常 + */ + int DELETED = 1; + } + + /** + * 是否 + */ + interface YesNo { + /** + * 正常 + */ + int YES = 1; + + /** + * 正常 + */ + int NO = 0; + } + +}