$this->id, 'username' => $this->username, 'email' => $this->email, 'firstname' => $this->firstname, 'lastname' => $this->lastname, 'phone' => $this->phone, 'department' => $this->department, 'start_date' => $this->start_date?->toDateString(), 'roles' => $this->getRoleNames(), ]; } }