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