package jnpf.enums.personnel;

import lombok.Getter;

/**
 * 手机号状态枚举
 *
 * @author Flynn Chan
 * @create 2024-05-13
 */
@Getter
public enum PhoneStatusEnum {
    BASE_EXIST_NOT("系统不存在该用户", 0),
    BASE_ONBOARD_WAIT("该手机号等待入职", 1),
    BASE_APPROVAL_WAIT("该手机号等待入职审批", 2),
    BASE_APPROVAL_REJECT("该手机号入职审批流程不通过,请重新办理", 3),
    BASE_BLACKLIST("手机号被加入黑名单", 4),

    WORK_PROBATION("试用", 302),
    WORK_FORMAL("正式", 303),
    WORK_RESIGN_WAIT("待离职", 304),
    WORK_RESIGN("离职", 305);

    private final String name;
    private final int code;

    PhoneStatusEnum(String name, int code) {
        this.name = name;
        this.code = code;
    }
}
