Update Site

This commit is contained in:
Nicolò P 2024-12-02 11:16:49 +01:00
parent b55f968201
commit 691a78579e

View File

@ -62,8 +62,11 @@ class Site implements JsonSerializable
#[ORM\Column(name: 'documenti', type: Types::TEXT, nullable: true)] #[ORM\Column(name: 'documenti', type: Types::TEXT, nullable: true)]
private ?string $documentation = null; private ?string $documentation = null;
#[ORM\Column(name: 'rilievi', length: 255, nullable: true)]
private ?string $surveys = null;
#[ORM\Column(name: 'proprietà', length: 255, nullable: true)] #[ORM\Column(name: 'proprietà', length: 255, nullable: true)]
private ?string $ownedBy = null; private ?string $ownership = null;
#[ORM\Column(name: 'gis_id', length: 20)] #[ORM\Column(name: 'gis_id', length: 20)]
private ?string $gisId = null; private ?string $gisId = null;
@ -279,14 +282,26 @@ class Site implements JsonSerializable
return $this; 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; return $this;
} }
@ -457,7 +472,7 @@ class Site implements JsonSerializable
'documentation' => $this->documentation, 'documentation' => $this->documentation,
'description' => $this->description, 'description' => $this->description,
'shortDescription' => $this->shortDescription, 'shortDescription' => $this->shortDescription,
'ownedBy' => $this->ownedBy, 'ownership' => $this->ownership,
'images' => $this->images->toArray(), 'images' => $this->images->toArray(),
'documents' => $this->documents, 'documents' => $this->documents,
'bibliography' => $this->bibliography, 'bibliography' => $this->bibliography,