package com.chifanla.queuecall.enumeration;

public enum PublicStatusEnum {
    BUSINESS_IN_USE(1, "使用中"),
    BUSINESS_NOT_IN_USE(2, "无效"),

    CALL_QUEUE_UNDO(1, "未完成"),
    CALL_QUEUE_PART_DO(2, "部分完成"),
    CALL_QUEUE_ALL_DONE(3, "全部完成"),
    CALL_QUEUE_CANCEL(4, "取消"),

    CALL_QUEUE_HANDlLE_LOG_IN_USE(1,"有效"),
    CALL_QUEUE_HANDlLE_LOG_NOT_IN_USE(2,"无效");

    private int id;
    private String name;

    PublicStatusEnum(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getCode() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }
}
