<?php

namespace MintyPHP\Domain\Taxonomy;

enum TenantStatus: string
{
    use SupportsStringTaxonomy;

    case Active = 'active';
    case Inactive = 'inactive';

    public function labelToken(): string
    {
        return match ($this) {
            self::Active => 'Active',
            self::Inactive => 'Inactive',
        };
    }

    public function badgeVariant(): string
    {
        return match ($this) {
            self::Active => 'success',
            self::Inactive => 'danger',
        };
    }
}
