<?phpdeclare(strict_types=1);namespace Croisiland\CommonBundle\Entity\Itinerary;use Croisiland\CommonBundle\Repository\Itinerary\StopoverComputedRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=StopoverComputedRepository::class) */class StopoverComputed{ /** * @ORM\Id * * @ORM\OneToOne(targetEntity=Stopover::class, inversedBy="computed") */ private Stopover $stopover; /** * @ORM\Column(type="integer", nullable=true) */ private ?int $itinerariesCount; /** * @ORM\Column(type="integer", nullable=true) */ private ?int $activeCruisesCount; /** * @ORM\Column(type="boolean", options={"default":false}) */ private bool $description; /** * @ORM\Column(type="boolean", options={"default":false}) */ private bool $whatToDo; /** * @ORM\Column(type="boolean", options={"default":false}) */ private bool $accessGuide; /** * @ORM\Column(type="boolean", options={"default":false}) */ private bool $correspondence; /** * @ORM\Column(type="boolean", options={"default":false}) */ private bool $geolocation; /** * @ORM\Column(type="integer", nullable=true) */ private ?int $mediasCount; public function getStopover(): Stopover { return $this->stopover; } public function setStopover(Stopover $stopover): self { $this->stopover = $stopover; return $this; } public function getItinerariesCount(): ?int { return $this->itinerariesCount; } public function setItinerariesCount(?int $itinerariesCount): self { $this->itinerariesCount = $itinerariesCount; return $this; } public function getActiveCruisesCount(): ?int { return $this->activeCruisesCount; } public function setActiveCruisesCount(?int $activeCruisesCount): self { $this->activeCruisesCount = $activeCruisesCount; return $this; } public function isDescription(): bool { return $this->description; } public function setDescription(bool $description): self { $this->description = $description; return $this; } public function isWhatToDo(): bool { return $this->whatToDo; } public function setWhatToDo(bool $whatToDo): self { $this->whatToDo = $whatToDo; return $this; } public function isAccessGuide(): bool { return $this->accessGuide; } public function setAccessGuide(bool $accessGuide): self { $this->accessGuide = $accessGuide; return $this; } public function isCorrespondence(): bool { return $this->correspondence; } public function setCorrespondence(bool $correspondence): self { $this->correspondence = $correspondence; return $this; } public function isGeolocation(): bool { return $this->geolocation; } public function setGeolocation(bool $geolocation): self { $this->geolocation = $geolocation; return $this; } public function getMediasCount(): ?int { return $this->mediasCount; } public function setMediasCount(?int $mediasCount): self { $this->mediasCount = $mediasCount; return $this; }}