From 2780e6717df31ee605dd8ce525afcb43914ca2de Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 06 一月 2025 13:25:00 +0800 Subject: [PATCH] writePointRealValue打印异常 --- 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