From b55f968201febec2e30c646f13c7a50355af799a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Sun, 1 Dec 2024 15:42:28 +0100 Subject: [PATCH] Update Site --- src/Entity/Site.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Entity/Site.php b/src/Entity/Site.php index 559e1c0..ac8b7b2 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -59,6 +59,9 @@ class Site implements JsonSerializable #[ORM\Column(name: 'luogo_custodia_mat', type: Types::TEXT, nullable: true)] private ?string $conservationPlace = null; + #[ORM\Column(name: 'documenti', type: Types::TEXT, nullable: true)] + private ?string $documentation = null; + #[ORM\Column(name: 'proprietà', length: 255, nullable: true)] private ?string $ownedBy = null; @@ -336,6 +339,18 @@ class Site implements JsonSerializable return $this; } + public function getDocumentation(): ?string + { + return $this->documentation; + } + + public function setDocumentation(string $documentation): static + { + $this->documentation = $documentation; + + return $this; + } + public function getTechniques(): ?string { return $this->techniques; @@ -439,6 +454,7 @@ class Site implements JsonSerializable 'materials' => $this->materials, 'conservationState' => $this->conservationState, 'conservationPlace' => $this->conservationPlace, + 'documentation' => $this->documentation, 'description' => $this->description, 'shortDescription' => $this->shortDescription, 'ownedBy' => $this->ownedBy,