<?php
namespace App\Entity;
use App\Repository\PointRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'MLDev_Point')]
#[ORM\Entity(repositoryClass: PointRepository::class)]
class Point
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $city = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $address = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $worktime = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $contacts = null;
#[ORM\Column(type: 'json', nullable: true)]
private ?array $coordinates = null;
public function getId(): ?int
{
return $this->id;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getWorktime(): ?string
{
return $this->worktime;
}
public function setWorktime(?string $worktime): self
{
$this->worktime = $worktime;
return $this;
}
public function getContacts(): ?string
{
return $this->contacts;
}
public function setContacts(?string $contacts): self
{
$this->contacts = $contacts;
return $this;
}
public function getCoordinates(): ?array
{
return $this->coordinates;
}
public function setCoordinates(?array $coordinates): self
{
$this->coordinates = $coordinates;
return $this;
}
}