diff --git a/src/Entity/Site.php b/src/Entity/Site.php index 765908b..726e037 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -74,6 +74,12 @@ class Site implements JsonSerializable #[ORM\Column(name: 'loc_generica', length: 200, nullable: true)] private ?string $genericPlace = null; + #[ORM\Column(name: 'tecniche_ed', nullable: true)] + private ?string $techniques = null; + + #[ORM\Column(name: 'autore_scheda', nullable: true)] + private ?string $author = null; + private ?float $lat; private ?float $lng; @@ -322,6 +328,30 @@ class Site implements JsonSerializable return $this; } + public function getTechniques(): ?string + { + return $this->techniques; + } + + public function setTechniques(string $techniques): static + { + $this->techniques = $techniques; + + return $this; + } + + public function getAuthor(): ?string + { + return $this->author; + } + + public function setAuthor(string $author): static + { + $this->author = $author; + + return $this; + } + public function getLat(): ?float { return $this->lat; @@ -394,6 +424,8 @@ class Site implements JsonSerializable 'ownedBy' => $this->ownedBy, 'images' => $this->images->toArray(), 'documents' => $this->documents, + 'techniques' => $this->techniques, + 'author' => $this->author, ]; } }