id; } #[Ignore] public function getBooking(): ?Booking { return $this->Booking; } #[Ignore] public function setBooking(?Booking $Booking): static { $this->Booking = $Booking; return $this; } #[Ignore] public function getRoomCategory(): ?RoomCategory { return $this->RoomCategory; } #[Ignore] 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"; } }