Add properties to NotConserved
This commit is contained in:
parent
e5810d94c6
commit
e402dbe97f
@ -45,6 +45,12 @@ class NotConserved implements \JsonSerializable
|
|||||||
#[ORM\Column(name: 'autore_scheda', length: 100, nullable: true)]
|
#[ORM\Column(name: 'autore_scheda', length: 100, nullable: true)]
|
||||||
private ?string $author = null;
|
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
|
* @var Image[] $images
|
||||||
*/
|
*/
|
||||||
@ -170,6 +176,30 @@ class NotConserved implements \JsonSerializable
|
|||||||
return $this;
|
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[]
|
* @return Image[]
|
||||||
*/
|
*/
|
||||||
@ -198,6 +228,8 @@ class NotConserved implements \JsonSerializable
|
|||||||
'period' => $this->period,
|
'period' => $this->period,
|
||||||
'shortDescription' => $this->shortDescription,
|
'shortDescription' => $this->shortDescription,
|
||||||
'author' => $this->author,
|
'author' => $this->author,
|
||||||
|
'municipality' => $this->municipality,
|
||||||
|
'label' => $this->label,
|
||||||
'bibliography' => $this->bibliographies,
|
'bibliography' => $this->bibliographies,
|
||||||
'documents' => $this->documents,
|
'documents' => $this->documents,
|
||||||
'images' => $this->images,
|
'images' => $this->images,
|
||||||
|
Loading…
Reference in New Issue
Block a user