From d7ac861cab28bc39f87c1af464ec4d319a0cbb37 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期二, 19 十一月 2024 15:46:15 +0800 Subject: [PATCH] test配置增加deploy.server属性,解决多网卡ip注册错误的问题 --- 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