day); } public function setDay(\DateTimeInterface $day): static { $this->day = $day->format("Y-m-d"); return $this; } public function getRoomCategory(): ?RoomCategory { return $this->roomCategory; } public function setRoomCategory(?RoomCategory $roomCategory): static { $this->roomCategory = $roomCategory; return $this; } public function getNumAvailable(): ?int { return $this->numAvailable; } public function setNumAvailable(int $numAvailable): static { $this->numAvailable = $numAvailable; return $this; } public function modNumAvailable(int $diffAmount):void { $this->numAvailable -= $diffAmount; } }