<?php

namespace App\Enums;

enum PlanTier: string
{
    case Free = 'free';
    case Basic = 'basic';
    case Plus = 'plus';
    case Pro = 'pro';

    public function label(): string
    {
        return match ($this) {
            self::Free => 'Free',
            self::Basic => 'Daily',
            self::Plus => 'Smart',
            self::Pro => 'Pro',
        };
    }
}
