mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-09 17:02:46 +02:00
bubble fraicheur des completions ajouté
This commit is contained in:
parent
cd8369d08c
commit
93086eba60
18 changed files with 179 additions and 66 deletions
|
@ -120,6 +120,12 @@ class Place
|
|||
#[ORM\Column(nullable: true)]
|
||||
private ?int $osm_changeset = null;
|
||||
|
||||
#[ORM\Column(type: Types::TEXT, nullable: true, options: ['charset' => 'utf8mb4'])]
|
||||
private ?string $emailContent = null;
|
||||
|
||||
#[ORM\Column(type: Types::INTEGER, nullable: true)]
|
||||
private ?int $place_count = null;
|
||||
|
||||
public function getPlaceTypeName(): ?string
|
||||
{
|
||||
if ($this->main_tag == 'amenity=restaurant') {
|
||||
|
@ -734,4 +740,15 @@ class Place
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getEmailContent(): ?string
|
||||
{
|
||||
return $this->emailContent;
|
||||
}
|
||||
|
||||
public function setEmailContent(?string $emailContent): static
|
||||
{
|
||||
$this->emailContent = $emailContent;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue