$this->id, 'activity_id' => $this->activity_id, 'activity_name' => $this->activity->name, 'subactivity_id' => $this->subactivity_id, 'subactivity_name' => $this->subactivity?->name, 'human_date' => $this->created_at->format('d.m.Y'), ]; } }