From 4be7d863a161b64f8592a789d699e807545e7dc6 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 15 十一月 2024 16:46:12 +0800
Subject: [PATCH] 计划数据

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/IsEnableEnum.java |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/IsEnableEnum.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/IsEnableEnum.java
index 7c31aa0..8aaca72 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/IsEnableEnum.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/IsEnableEnum.java
@@ -1,21 +1,20 @@
 package com.iailab.module.data.common.enums;
 
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
 /**
  * @author PanZhibao
  * @Description
  * @createTime 2023年07月17日 17:41:00
  */
+@Getter
+@AllArgsConstructor
 public enum IsEnableEnum {
-    DISABLE(0), // 手动
-    ENABLE(1);  //自动
+    DISABLE(0, "否"),
+    ENABLE(1, "是");
 
-    private Integer value;
+    private Integer code;
+    private String desc;
 
-    IsEnableEnum(Integer value) {
-        this.value = value;
-    }
-
-    public Integer value() {
-        return this.value;
-    }
 }

--
Gitblit v1.9.3