Add label to Site
This commit is contained in:
parent
6dc99531c7
commit
f573b4deca
@ -92,6 +92,9 @@ class Site implements JsonSerializable
|
|||||||
#[ORM\Column(name: 'area', nullable: false, type: Types::BOOLEAN)]
|
#[ORM\Column(name: 'area', nullable: false, type: Types::BOOLEAN)]
|
||||||
private ?bool $area = null;
|
private ?bool $area = null;
|
||||||
|
|
||||||
|
#[ORM\Column(name: 'etichetta', nullable: false, length: 100)]
|
||||||
|
private ?string $label = null;
|
||||||
|
|
||||||
private ?float $lat;
|
private ?float $lat;
|
||||||
|
|
||||||
private ?float $lng;
|
private ?float $lng;
|
||||||
@ -487,6 +490,7 @@ class Site implements JsonSerializable
|
|||||||
'author' => $this->author,
|
'author' => $this->author,
|
||||||
'geojson' => $this->geojson,
|
'geojson' => $this->geojson,
|
||||||
'area' => $this->area,
|
'area' => $this->area,
|
||||||
|
'label' => $this->label,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user