<?php

namespace Kylin\Pet\Enums;

/**
 * 服务类型枚举
 */
enum ServiceType: string
{
    case MEDICAL = 'medical';
    case GROOMING = 'grooming';
    case BOARDING = 'boarding';
    case VACCINATION = 'vaccination';
    case DEWORMING = 'deworming';
    case OTHER = 'other';

    public function label(): string
    {
        return match ($this) {
            self::MEDICAL => '诊疗',
            self::GROOMING => '美容',
            self::BOARDING => '寄养',
            self::VACCINATION => '疫苗',
            self::DEWORMING => '驱虫',
            self::OTHER => '其他',
        };
    }
}
