__('enums.employment_status.active'), self::Inactive => __('enums.employment_status.inactive'), self::Terminated => __('enums.employment_status.terminated'), self::OnLeave => __('enums.employment_status.on_leave'), }; } public function color(): string { return match ($this) { self::Active => 'success', self::Inactive => 'gray', self::Terminated => 'danger', self::OnLeave => 'warning', }; } public function icon(): string { return match ($this) { self::Active => 'heroicon-o-check-circle', self::Inactive => 'heroicon-o-pause-circle', self::Terminated => 'heroicon-o-x-circle', self::OnLeave => 'heroicon-o-clock', }; } }