diff --git a/src/Entity/Site.php b/src/Entity/Site.php index 7f29f0c..d381246 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -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, ]; } }