Add label to Site

This commit is contained in:
Nicolò P 2025-03-26 16:24:59 +01:00
parent 6dc99531c7
commit f573b4deca

View File

@ -92,6 +92,9 @@ class Site implements JsonSerializable
#[ORM\Column(name: 'area', nullable: false, type: Types::BOOLEAN)]
private ?bool $area = null;
#[ORM\Column(name: 'etichetta', nullable: false, length: 100)]
private ?string $label = null;
private ?float $lat;
private ?float $lng;
@ -487,6 +490,7 @@ class Site implements JsonSerializable
'author' => $this->author,
'geojson' => $this->geojson,
'area' => $this->area,
'label' => $this->label,
];
}
}