$this->id, "user" => new UserResource($this->user), "hasVacation" => $this->has_vacation, "days" => $this->days, ]; } }