id; } public function getByUser(): ?User { return $this->byUser; } public function setByUser(?User $byUser): self { $this->byUser = $byUser; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getPhotoFilename(): ?string { return $this->photoFilename; } public function setPhotoFilename(?string $photoFilename): self { $this->photoFilename = $photoFilename; return $this; } public function getZipCode(): ?int { return $this->zipCode; } public function setZipCode(int $zipCode): self { $this->zipCode = $zipCode; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function __toString(): string { return (string) $this-getTitle(); } public function getCoordinate(): ?Coordinate { $coordinate = new Coordinate($this->lat, $this->lng); return $coordinate; } public function setCoordinate(Coordinate $coordinate): self { $this->lat = $coordinate->getLat(); $this->lng = $coordinate->getLng(); return $this; } public function getUrlId(): ?string { return $this->urlId; } public function setUrlId(string $urlId): self { $this->urlId = $urlId; return $this; } }