package com.ruoyi.web.modules.diagnosis.support;

/**
 * 兽医预约状态展示名。
 */
public final class VetAppointmentStatusResolver
{
    private VetAppointmentStatusResolver()
    {
    }

    public static String resolveLabel(Integer status)
    {
        if (status == null)
        {
            return "";
        }
        switch (status)
        {
            case ServiceAppointmentRules.STATUS_PENDING:
                return "待确认";
            case ServiceAppointmentRules.STATUS_CONFIRMED:
                return "已确认";
            case ServiceAppointmentRules.STATUS_REJECTED:
                return "已拒绝";
            case ServiceAppointmentRules.STATUS_CANCELLED:
                return "已取消";
            case ServiceAppointmentRules.STATUS_COMPLETED:
                return "已完成";
            default:
                return "";
        }
    }
}
