Add flags to Site
This commit is contained in:
parent
851808021a
commit
95d78be851
@ -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,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user