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