512 lines
12 KiB
PHP
512 lines
12 KiB
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\MedicalCenterRepository;
|
|
use Doctrine\DBAL\Types\Types;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Symfony\Component\Serializer\Annotation\Groups;
|
|
|
|
#[ORM\Entity(repositoryClass: MedicalCenterRepository::class)]
|
|
#[ORM\Table(name: 'medical_center')]
|
|
class MedicalCenter
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue(strategy: "IDENTITY")]
|
|
#[ORM\Column(type: Types::INTEGER)]
|
|
#[Groups(['medical_center:read'])]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $name = null;
|
|
|
|
#[ORM\Column(type: Types::BOOLEAN, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?bool $active = null;
|
|
|
|
#[ORM\Column(name: 'region_id', type: Types::INTEGER, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?int $regionId = null;
|
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $alias = null;
|
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $anons = null;
|
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $content = null;
|
|
|
|
#[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?\DateTimeInterface $updateAt = null;
|
|
|
|
#[ORM\Column(name: 'kod_uslug', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $kodUslug = null;
|
|
|
|
#[ORM\Column(type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $doctors = null;
|
|
|
|
#[ORM\Column(type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $services = null;
|
|
|
|
#[ORM\Column(type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $articles = null;
|
|
|
|
#[ORM\Column(name: 'txt_up', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $txtUp = null;
|
|
|
|
#[ORM\Column(name: 'main_link_staff', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $mainLinkStaff = null;
|
|
|
|
#[ORM\Column(type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $contraindications = null;
|
|
|
|
#[ORM\Column(name: 'hide_picture', type: Types::INTEGER, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?int $hidePicture = null;
|
|
|
|
#[ORM\Column(type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $indications = null;
|
|
|
|
#[ORM\Column(name: 'link_sale', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $linkSale = null;
|
|
|
|
#[ORM\Column(name: 'plus_list', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $plusList = null;
|
|
|
|
#[ORM\Column(name: 'plus_text', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $plusText = null;
|
|
|
|
#[ORM\Column(name: 'plus_title', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $plusTitle = null;
|
|
|
|
#[ORM\Column(name: 'process_text', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $processText = null;
|
|
|
|
#[ORM\Column(name: 'process_title', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $processTitle = null;
|
|
|
|
#[ORM\Column(name: 'services_list', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $servicesList = null;
|
|
|
|
#[ORM\Column(name: 'services_photos', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $servicesPhotos = null;
|
|
|
|
#[ORM\Column(name: 'services_title', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $servicesTitle = null;
|
|
|
|
#[ORM\Column(name: 'sort_staff', type: 'jsonb', nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?array $sortStaff = null;
|
|
|
|
#[ORM\Column(name: 'training_text', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $trainingText = null;
|
|
|
|
#[ORM\Column(name: 'training_text_title', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $trainingTextTitle = null;
|
|
|
|
#[ORM\Column(name: 'why_text', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $whyText = null;
|
|
|
|
#[ORM\Column(name: 'why_title', type: Types::TEXT, nullable: true)]
|
|
#[Groups(['medical_center:read', 'medical_center:write'])]
|
|
private ?string $whyTitle = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId(?int $id): self
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getName(): ?string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function setName(?string $name): self
|
|
{
|
|
$this->name = $name;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getActive(): ?bool
|
|
{
|
|
return $this->active;
|
|
}
|
|
|
|
public function setActive(?bool $active): self
|
|
{
|
|
$this->active = $active;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getRegionId(): ?int
|
|
{
|
|
return $this->regionId;
|
|
}
|
|
|
|
public function setRegionId(?int $regionId): self
|
|
{
|
|
$this->regionId = $regionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAlias(): ?string
|
|
{
|
|
return $this->alias;
|
|
}
|
|
|
|
public function setAlias(?string $alias): self
|
|
{
|
|
$this->alias = $alias;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAnons(): ?string
|
|
{
|
|
return $this->anons;
|
|
}
|
|
|
|
public function setAnons(?string $anons): self
|
|
{
|
|
$this->anons = $anons;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getContent(): ?string
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
public function setContent(?string $content): self
|
|
{
|
|
$this->content = $content;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getUpdateAt(): ?\DateTimeInterface
|
|
{
|
|
return $this->updateAt;
|
|
}
|
|
|
|
public function setUpdateAt(?\DateTimeInterface $updateAt): self
|
|
{
|
|
$this->updateAt = $updateAt;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getKodUslug(): ?array
|
|
{
|
|
return $this->kodUslug;
|
|
}
|
|
|
|
public function setKodUslug(?array $kodUslug): self
|
|
{
|
|
$this->kodUslug = $kodUslug;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDoctors(): ?array
|
|
{
|
|
return $this->doctors;
|
|
}
|
|
|
|
public function setDoctors(?array $doctors): self
|
|
{
|
|
$this->doctors = $doctors;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getServices(): ?array
|
|
{
|
|
return $this->services;
|
|
}
|
|
|
|
public function setServices(?array $services): self
|
|
{
|
|
$this->services = $services;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getArticles(): ?array
|
|
{
|
|
return $this->articles;
|
|
}
|
|
|
|
public function setArticles(?array $articles): self
|
|
{
|
|
$this->articles = $articles;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTxtUp(): ?array
|
|
{
|
|
return $this->txtUp;
|
|
}
|
|
|
|
public function setTxtUp(?array $txtUp): self
|
|
{
|
|
$this->txtUp = $txtUp;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getMainLinkStaff(): ?string
|
|
{
|
|
return $this->mainLinkStaff;
|
|
}
|
|
|
|
public function setMainLinkStaff(?string $mainLinkStaff): self
|
|
{
|
|
$this->mainLinkStaff = $mainLinkStaff;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getContraindications(): ?array
|
|
{
|
|
return $this->contraindications;
|
|
}
|
|
|
|
public function setContraindications(?array $contraindications): self
|
|
{
|
|
$this->contraindications = $contraindications;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getHidePicture(): ?int
|
|
{
|
|
return $this->hidePicture;
|
|
}
|
|
|
|
public function setHidePicture(?int $hidePicture): self
|
|
{
|
|
$this->hidePicture = $hidePicture;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getIndications(): ?array
|
|
{
|
|
return $this->indications;
|
|
}
|
|
|
|
public function setIndications(?array $indications): self
|
|
{
|
|
$this->indications = $indications;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getLinkSale(): ?array
|
|
{
|
|
return $this->linkSale;
|
|
}
|
|
|
|
public function setLinkSale(?array $linkSale): self
|
|
{
|
|
$this->linkSale = $linkSale;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPlusList(): ?array
|
|
{
|
|
return $this->plusList;
|
|
}
|
|
|
|
public function setPlusList(?array $plusList): self
|
|
{
|
|
$this->plusList = $plusList;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPlusText(): ?string
|
|
{
|
|
return $this->plusText;
|
|
}
|
|
|
|
public function setPlusText(?string $plusText): self
|
|
{
|
|
$this->plusText = $plusText;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPlusTitle(): ?string
|
|
{
|
|
return $this->plusTitle;
|
|
}
|
|
|
|
public function setPlusTitle(?string $plusTitle): self
|
|
{
|
|
$this->plusTitle = $plusTitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getProcessText(): ?string
|
|
{
|
|
return $this->processText;
|
|
}
|
|
|
|
public function setProcessText(?string $processText): self
|
|
{
|
|
$this->processText = $processText;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getProcessTitle(): ?string
|
|
{
|
|
return $this->processTitle;
|
|
}
|
|
|
|
public function setProcessTitle(?string $processTitle): self
|
|
{
|
|
$this->processTitle = $processTitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getServicesList(): ?array
|
|
{
|
|
return $this->servicesList;
|
|
}
|
|
|
|
public function setServicesList(?array $servicesList): self
|
|
{
|
|
$this->servicesList = $servicesList;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getServicesPhotos(): ?array
|
|
{
|
|
return $this->servicesPhotos;
|
|
}
|
|
|
|
public function setServicesPhotos(?array $servicesPhotos): self
|
|
{
|
|
$this->servicesPhotos = $servicesPhotos;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getServicesTitle(): ?string
|
|
{
|
|
return $this->servicesTitle;
|
|
}
|
|
|
|
public function setServicesTitle(?string $servicesTitle): self
|
|
{
|
|
$this->servicesTitle = $servicesTitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getSortStaff(): ?array
|
|
{
|
|
return $this->sortStaff;
|
|
}
|
|
|
|
public function setSortStaff(?array $sortStaff): self
|
|
{
|
|
$this->sortStaff = $sortStaff;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTrainingText(): ?string
|
|
{
|
|
return $this->trainingText;
|
|
}
|
|
|
|
public function setTrainingText(?string $trainingText): self
|
|
{
|
|
$this->trainingText = $trainingText;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTrainingTextTitle(): ?string
|
|
{
|
|
return $this->trainingTextTitle;
|
|
}
|
|
|
|
public function setTrainingTextTitle(?string $trainingTextTitle): self
|
|
{
|
|
$this->trainingTextTitle = $trainingTextTitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getWhyText(): ?string
|
|
{
|
|
return $this->whyText;
|
|
}
|
|
|
|
public function setWhyText(?string $whyText): self
|
|
{
|
|
$this->whyText = $whyText;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getWhyTitle(): ?string
|
|
{
|
|
return $this->whyTitle;
|
|
}
|
|
|
|
public function setWhyTitle(?string $whyTitle): self
|
|
{
|
|
$this->whyTitle = $whyTitle;
|
|
|
|
return $this;
|
|
}
|
|
}
|