<?php

namespace App\Enums;

enum AccessType: string
{
    case PERSON = 'person';
    case VEHICLE = 'vehicle';
    case DELIVERY = 'delivery';

    public function label(): string
    {
        return match($this) {
            self::PERSON => 'Acceso Peatonal',
            self::VEHICLE => 'Acceso Vehicular',
            self::DELIVERY => 'Entrega / Delivery',
        };
    }
}
