From e0c3d16c7ba1700be99b4739b883e4d01789cc62 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 30 四月 2025 16:20:50 +0800
Subject: [PATCH] feat(pipIrr): 新增计划终止后限制发布新计划的功能

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Disabled.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Disabled.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Disabled.java
new file mode 100644
index 0000000..830a561
--- /dev/null
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Disabled.java
@@ -0,0 +1,36 @@
+package com.dy.common.mybatis.envm;
+
+import com.baomidou.mybatisplus.annotation.EnumValue;
+
+public enum Disabled implements IEnum{
+    
+    YES((byte)1, "鏄�"),
+    NO((byte)0, "鍚�");
+
+    @EnumValue
+    public Byte code ;
+    public String name ;
+
+    Disabled(Byte code, String name){
+        this.code = code ;
+        this.name = name ;
+    }
+
+    /**
+     * 瀹為檯涓婅浆json锛岃Pojo鐨勫搴斿睘鎬�
+     * @return json
+     */
+    //public String toString(){
+    //    return "{\"code\":" + this.code + "," + "\"name\":" + this.name + "}" ;
+    //}
+
+    @Override
+    public Byte getCode() {
+        return this.code ;
+    }
+
+    @Override
+    public String getName() {
+        return this.name ;
+    }
+}

--
Gitblit v1.8.0