Add flags to Site

This commit is contained in:
Nicolò P 2025-03-26 11:46:52 +01:00
parent 851808021a
commit 95d78be851

View File

@ -86,6 +86,12 @@ class Site implements JsonSerializable
#[ORM\Column(name: 'autore_scheda', nullable: true)]
private ?string $author = null;
#[ORM\Column(name: 'geojson', nullable: false, type: Types::BOOLEAN)]
private ?bool $geojson = null;
#[ORM\Column(name: 'area', nullable: false, type: Types::BOOLEAN)]
private ?bool $area = null;
private ?float $lat;
private ?float $lng;
@ -479,6 +485,8 @@ class Site implements JsonSerializable
'bibliography' => $this->bibliography,
'techniques' => $this->techniques,
'author' => $this->author,
'geojson' => $this->geojson,
'area' => $this->area,
];
}
}