'Aktif', self::INACTIVE => 'Tidak Aktif', self::SUSPENDED => 'Suspend', }; } public function color() { return match ($this) { self::ACTIVE => 'emerald', self::INACTIVE => 'yellow', self::SUSPENDED => 'red', }; } public function gradient(): string { return match ($this) { self::ACTIVE => 'bg-gradient-to-b from-emerald-800 to-emerald-400', self::INACTIVE => 'bg-gradient-to-b from-yellow-800 to-yellow-400', self::SUSPENDED => 'bg-gradient-to-b from-red-800 to-red-400', }; } }