From f853b02cb7b265379eceb2f0e3c38f9d63bb1b21 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 06 一月 2025 17:55:25 +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