phpcjl
2024-12-05 51d4bcf7580a18e1ec8bae50348713e84c264f45
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;
    }
}