<?php

namespace App\Enums;

enum AccountStatus: string
{
    case Pending = 'pending';
    case Activated = 'activated';
    case Suspended = 'suspended';
    case Deleted = 'deleted';

    public function label(): string
    {
        return match ($this) {
            self::Pending => 'Pending',
            self::Activated => 'Activated',
            self::Suspended => 'Suspended',
            self::Deleted => 'Deleted',
        };
    }
}