<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\LepDiiaCokInfoRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaCokInfoRepository::class)]
#[ApiResource]
class LepDiiaCokInfo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $number = null;
#[ORM\Column(length: 100)]
private ?string $name = null;
#[ORM\Column(length: 100)]
private ?string $city = null;
#[ORM\Column(length: 100)]
private ?string $chief = null;
#[ORM\Column(length: 100)]
private ?string $phone = null;
#[ORM\Column(length: 100)]
private ?string $mail = null;
#[ORM\Column(length: 255)]
private ?string $adress = null;
#[ORM\Column(length: 30)]
private ?string $ip = null;
#[ORM\Column(length: 100)]
private ?string $district = null;
#[ORM\Column(length: 10)]
private ?string $post_index = null;
#[ORM\Column(length: 50)]
private ?string $street = null;
#[ORM\Column(length: 10)]
private ?string $house = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $diia_branch_id = null;
#[ORM\Column(length: 255)]
private ?string $schedule = null;
#[ORM\Column(length: 2)]
private ?string $active = null;
#[ORM\Column]
private ?int $orders = null;
#[ORM\Column(length: 10)]
private ?string $type_work = null;
#[ORM\Column(length: 30)]
private ?string $diia_work = null;
public function getId(): ?int
{
return $this->id;
}
public function getNumber(): ?int
{
return $this->number;
}
public function setNumber(int $number): self
{
$this->number = $number;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(string $city): self
{
$this->city = $city;
return $this;
}
public function getChief(): ?string
{
return $this->chief;
}
public function setChief(string $chief): self
{
$this->chief = $chief;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getAdress(): ?string
{
return $this->adress;
}
public function setAdress(string $adress): self
{
$this->adress = $adress;
return $this;
}
public function getIp(): ?string
{
return $this->ip;
}
public function setIp(string $ip): self
{
$this->ip = $ip;
return $this;
}
public function getDistrict(): ?string
{
return $this->district;
}
public function setDistrict(string $district): self
{
$this->district = $district;
return $this;
}
public function getPostIndex(): ?string
{
return $this->post_index;
}
public function setPostIndex(string $post_index): self
{
$this->post_index = $post_index;
return $this;
}
public function getStreet(): ?string
{
return $this->street;
}
public function setStreet(string $street): self
{
$this->street = $street;
return $this;
}
public function getHouse(): ?string
{
return $this->house;
}
public function setHouse(string $house): self
{
$this->house = $house;
return $this;
}
public function getDiiaBranchId(): ?string
{
return $this->diia_branch_id;
}
public function setDiiaBranchId(?string $diia_branch_id): self
{
$this->diia_branch_id = $diia_branch_id;
return $this;
}
public function getSchedule(): ?string
{
return $this->schedule;
}
public function setSchedule(string $schedule): self
{
$this->schedule = $schedule;
return $this;
}
public function getActive(): ?string
{
return $this->active;
}
public function setActive(string $active): self
{
$this->active = $active;
return $this;
}
public function getOrders(): ?int
{
return $this->orders;
}
public function setOrders(int $orders): self
{
$this->orders = $orders;
return $this;
}
public function getTypeWork(): ?string
{
return $this->type_work;
}
public function setTypeWork(string $type_work): self
{
$this->type_work = $type_work;
return $this;
}
public function getDiiaWork(): ?string
{
return $this->diia_work;
}
public function setDiiaWork(string $diia_work): self
{
$this->diia_work = $diia_work;
return $this;
}
}