From 5b846f709a9c7082dc1cbe5d2305d10ab771213a Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期二, 17 十二月 2024 17:27:41 +0800 Subject: [PATCH] 1 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/ShopStatus.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/ShopStatus.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/ShopStatus.java new file mode 100644 index 0000000..a82be5a --- /dev/null +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/ShopStatus.java @@ -0,0 +1,18 @@ +package com.ruoyi.other.enums; + +import lombok.Getter; + +@Getter +public enum ShopStatus { + SHOP_STATUS_NORMAL(1, "正常"), + SHOP_STATUS_FREEZE(2, "冻结"); + + private final Integer code; + private final String message; + + ShopStatus(Integer code, String message) { + this.code = code; + this.message = message; + } + +} -- Gitblit v1.7.1