From 98af40ebd9c5d4d2a57e69735fb4495fcd066ea9 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期二, 14 一月 2025 21:09:18 +0800 Subject: [PATCH] 12.18 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/TechnicianErrorCode.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/TechnicianErrorCode.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/TechnicianErrorCode.java new file mode 100644 index 0000000..50ab4e6 --- /dev/null +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/TechnicianErrorCode.java @@ -0,0 +1,18 @@ +package com.ruoyi.other.enums; + +import lombok.Getter; + +@Getter +public enum TechnicianErrorCode { + TECHNICIAN_ALREADY_SUBSCRIBED(1001, "该技师已被预约"), + ; + + private final int code; + private final String message; + + TechnicianErrorCode(int code, String message) { + this.code = code; + this.message = message; + } + +} -- Gitblit v1.7.1