id; } public function getBooking(): ?Booking { return $this->booking; } public function setBooking(?Booking $booking): static { $this->booking = $booking; return $this; } public function getRoomCategory(): ?RoomCategory { return $this->roomCategory; } public function setRoomCategory(?RoomCategory $roomCategory): static { $this->roomCategory = $roomCategory; return $this; } public function getRoomCategoryId(): int { return $this->getRoomCategory()->getId(); } public function getGuestNumber(): ?int { return $this->guestNumber; } public function setGuestNumber(int $guestNumber): static { $this->guestNumber = $guestNumber; return $this; } public function getRoomPrice(): ?int { return $this->roomPrice; } public function setRoomPrice(int $roomPrice): static { $this->roomPrice = $roomPrice; return $this; } public function getAmount(): ?int { return $this->amount; } public function setAmount(int $amount): static { $this->amount = $amount; return $this; } function __toString(): string { return $this->getAmount() . " " . $this->getRoomCategory()->getName() . " - " . $this->getGuestNumber() . " Guests"; } }