$this->id, 'name' => $this->title, 'project_code' => ($this->project) ? $this->project->code . ' ' . $this->project->name : null, 'color' => $this->color, ]; } }