phpcjl
2024-12-13 499b4cacc8e66d1ce48647f629b6449a3e6f9653
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;
    }
}