phpcjl
2024-12-11 289dd88443b08fbdada0724d032f75c7fec0a6cf
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;
    }
}