<?php

namespace Kylin\Pet\Enums;

/**
 * 寄养状态枚举
 */
enum BoardingStatus: string
{
    case RESERVED = 'reserved';
    case CHECKED_IN = 'checked_in';
    case COMPLETED = 'completed';

    public function label(): string
    {
        return match ($this) {
            self::RESERVED => '已预约',
            self::CHECKED_IN => '入住中',
            self::COMPLETED => '已完成',
        };
    }
}
