phpcjl
2024-12-13 0a1359c6af67f01204e1c4d74f3a30cace22a888
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/TechnicianErrorCode.java
New file
@@ -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;
    }
}