id; } public function getEvent(): ?Event { return $this->event; } public function setEvent(?Event $event): static { $this->event = $event; return $this; } public function getGamemaster(): ?Gamemaster { return $this->gamemaster; } public function setGamemaster(?Gamemaster $gamemaster): static { $this->gamemaster = $gamemaster; return $this; } public function getPeriod(): ?Period { return $this->period; } public function setPeriod(?Period $period): static { $this->period = $period; return $this; } public function getStartOn(): ?\DateTime { return $this->startOn; } public function setStartOn(\DateTime $startOn): static { $this->startOn = $startOn; return $this; } public function getEndOn(): ?\DateTime { return $this->endOn; } public function setEndOn(\DateTime $endOn): static { $this->endOn = $endOn; return $this; } public function isAvailable(): ?bool { return $this->available; } public function setAvailable(bool $available): static { $this->available = $available; return $this; } }