'danger', self::Processing => 'warning', self::Active => 'success', }; } public function getLabel(): string { return trans('server/schedule.schedule_status.' . $this->value); } }