diff --git a/src/Entity/NotConserved.php b/src/Entity/NotConserved.php index 730ebe0..d99352c 100644 --- a/src/Entity/NotConserved.php +++ b/src/Entity/NotConserved.php @@ -45,6 +45,12 @@ class NotConserved implements \JsonSerializable #[ORM\Column(name: 'autore_scheda', length: 100, nullable: true)] private ?string $author = null; + #[ORM\Column(name: 'comune', length: 10, nullable: false)] + private ?string $municipality = null; + + #[ORM\Column(name: 'etichetta', length: 100, nullable: false)] + private ?string $label = null; + /** * @var Image[] $images */ @@ -170,6 +176,30 @@ class NotConserved implements \JsonSerializable return $this; } + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): static + { + $this->label = $label; + + return $this; + } + + public function getMunicipality(): ?string + { + return $this->municipality; + } + + public function setMunicipality(?string $municipality): static + { + $this->municipality = $municipality; + + return $this; + } + /** * @return Image[] */ @@ -198,6 +228,8 @@ class NotConserved implements \JsonSerializable 'period' => $this->period, 'shortDescription' => $this->shortDescription, 'author' => $this->author, + 'municipality' => $this->municipality, + 'label' => $this->label, 'bibliography' => $this->bibliographies, 'documents' => $this->documents, 'images' => $this->images,