diff --git a/src/Entity/Site.php b/src/Entity/Site.php index ac8b7b2..aa7ae4b 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -62,8 +62,11 @@ class Site implements JsonSerializable #[ORM\Column(name: 'documenti', type: Types::TEXT, nullable: true)] private ?string $documentation = null; + #[ORM\Column(name: 'rilievi', length: 255, nullable: true)] + private ?string $surveys = null; + #[ORM\Column(name: 'proprietà', length: 255, nullable: true)] - private ?string $ownedBy = null; + private ?string $ownership = null; #[ORM\Column(name: 'gis_id', length: 20)] private ?string $gisId = null; @@ -279,14 +282,26 @@ class Site implements JsonSerializable return $this; } - public function getOwnedBy(): ?string + public function getSurveys(): ?string { - return $this->ownedBy; + return $this->surveys; } - public function setOwnedBy(?string $ownedBy): static + public function setSurveys(?string $surveys): static { - $this->ownedBy = $ownedBy; + $this->surveys = $surveys; + + return $this; + } + + public function getOwnership(): ?string + { + return $this->ownership; + } + + public function setOwnership(?string $ownership): static + { + $this->ownership = $ownership; return $this; } @@ -457,7 +472,7 @@ class Site implements JsonSerializable 'documentation' => $this->documentation, 'description' => $this->description, 'shortDescription' => $this->shortDescription, - 'ownedBy' => $this->ownedBy, + 'ownership' => $this->ownership, 'images' => $this->images->toArray(), 'documents' => $this->documents, 'bibliography' => $this->bibliography,