OrganizationStatus Enum
The OrganizationStatus enum defines the possible states of an organization in the system.
Definition
namespace App\Enums;
enum OrganizationStatus: string
{
case ACTIVE = 'active';
case INACTIVE = 'inactive';
case SUSPENDED = 'suspended';
}
Values
| Value | Description |
|---|---|
active | Organization is active and fully operational |
inactive | Organization is inactive (soft deleted) |
suspended | Organization is suspended (billing/administrative) |
Methods
label(): string
Get human-readable label.
OrganizationStatus::ACTIVE->label(); // "Active"
OrganizationStatus::SUSPENDED->label(); // "Suspended"
Used By
- Organization model