Kaynağa Gözat

7.26 新添枚举类

Mechrevo 1 yıl önce
ebeveyn
işleme
4a0fdef25f

+ 24 - 0
sp-core/sp-base/src/main/java/com/pj/enummj/IsLock.java

@@ -0,0 +1,24 @@
+package com.pj.enummj;
+
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+/**
+ * @Author Mechrevo
+ * @Date 2023 07 26 10 26
+ **/
+@Getter
+@AllArgsConstructor
+public enum IsLock {
+
+    IS_LOCK_ON(1,"启用"),
+    IS_LOCK_OFF(2,"锁定");
+
+    private Integer code;
+
+    private String msg;
+
+
+
+
+}