chore: initial import for test contour

This commit is contained in:
sova-bootstrap
2026-05-27 19:36:32 +03:00
commit 166cdb148e
282 changed files with 84872 additions and 0 deletions
+933
View File
@@ -0,0 +1,933 @@
<?php
namespace App\Entity;
use App\Entity\Behavior\UpdateTimestampTrait;
use App\Repository\SiteServiceRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
#[ORM\Entity(repositoryClass: SiteServiceRepository::class)]
#[ORM\Table(name: 'site_services')]
#[ORM\Index(name: 'idx_site_services_region_id', columns: ['region_id'])]
#[ORM\Index(name: 'idx_site_services_active', columns: ['active'])]
#[ORM\HasLifecycleCallbacks]
class SiteService
{
use UpdateTimestampTrait;
#[ORM\Id]
#[ORM\GeneratedValue(strategy: "IDENTITY")]
#[ORM\Column(type: Types::INTEGER)]
#[Groups(['site_service:read'])]
private ?int $id = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $name = null;
#[ORM\Column(type: Types::BOOLEAN, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?bool $active = null;
#[ORM\Column(name: 'region_id', type: Types::INTEGER, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?int $regionId = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $alias = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $anons = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $content = null;
#[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)]
#[Groups(['site_service:read'])]
private ?\DateTimeInterface $updateAt = null;
#[ORM\Column(name: 'link_videoreviews', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $linkVideoreviews = null;
#[ORM\Column(name: 'preview_img', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $previewImg = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $faq = null;
#[ORM\Column(name: 'part_price', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $partPrice = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $pokazaniya = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $preparation = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $protivopokazaniya = null;
#[ORM\Column(name: 'hide_sign_btn', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $hideSignBtn = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $quiz = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $tags = null;
#[ORM\Column(name: 'tags_important', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $tagsImportant = null;
#[ORM\Column(name: 'banner_img', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $bannerImg = null;
#[ORM\Column(name: 'banner_img_m', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $bannerImgM = null;
#[ORM\Column(name: 'banner_img_url', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $bannerImgUrl = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $clinics = null;
#[ORM\Column(name: 'download_file', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $downloadFile = null;
#[ORM\Column(name: 'full_width_banner', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $fullWidthBanner = null;
#[ORM\Column(name: 'staff_up', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $staffUp = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $advantages = null;
#[ORM\Column(name: 'hide_picture', type: Types::INTEGER, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?int $hidePicture = null;
#[ORM\Column(name: 'kod_uslug', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $kodUslug = null;
#[ORM\Column(name: 'link_price', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $linkPrice = null;
#[ORM\Column(name: 'photos_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $photosTitle = null;
#[ORM\Column(name: 'sale_id', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $saleId = null;
#[ORM\Column(name: 'sort_staff', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $sortStaff = null;
#[ORM\Column(name: 'contraindications_list', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $contraindicationsList = null;
#[ORM\Column(name: 'custom_block_text', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $customBlockText = null;
#[ORM\Column(name: 'custom_block_text2', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $customBlockText2 = null;
#[ORM\Column(name: 'custom_block_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $customBlockTitle = null;
#[ORM\Column(name: 'custom_block_title2', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $customBlockTitle2 = null;
#[ORM\Column(name: 'indications_list', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $indicationsList = null;
#[ORM\Column(name: 'link_articles_services', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $linkArticlesServices = null;
#[ORM\Column(name: 'plus_list', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $plusList = null;
#[ORM\Column(name: 'plus_text', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $plusText = null;
#[ORM\Column(name: 'plus_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $plusTitle = null;
#[ORM\Column(name: 'prepare_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $prepareTitle = null;
#[ORM\Column(name: 'process_text', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $processText = null;
#[ORM\Column(name: 'process_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $processTitle = null;
#[ORM\Column(name: 'services_list', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $servicesList = null;
#[ORM\Column(name: 'services_photos', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $servicesPhotos = null;
#[ORM\Column(name: 'services_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $servicesTitle = null;
#[ORM\Column(name: 'text_up', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $textUp = null;
#[ORM\Column(name: 'training_text', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $trainingText = null;
#[ORM\Column(name: 'why_text', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $whyText = null;
#[ORM\Column(name: 'why_title', type: Types::TEXT, nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?string $whyTitle = null;
#[ORM\Column(name: 'link_faq', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $linkFaq = null;
#[ORM\Column(name: 'link_services', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $linkServices = null;
#[ORM\Column(name: 'link_staff', type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $linkStaff = null;
#[ORM\Column(type: 'jsonb', nullable: true)]
#[Groups(['site_service:read', 'site_service:write'])]
private ?array $photos = 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 getLinkVideoreviews(): ?array
{
return $this->linkVideoreviews;
}
public function setLinkVideoreviews(?array $linkVideoreviews): self
{
$this->linkVideoreviews = $linkVideoreviews;
return $this;
}
public function getPreviewImg(): ?string
{
return $this->previewImg;
}
public function setPreviewImg(?string $previewImg): self
{
$this->previewImg = $previewImg;
return $this;
}
public function getFaq(): ?array
{
return $this->faq;
}
public function setFaq(?array $faq): self
{
$this->faq = $faq;
return $this;
}
public function getPartPrice(): ?string
{
return $this->partPrice;
}
public function setPartPrice(?string $partPrice): self
{
$this->partPrice = $partPrice;
return $this;
}
public function getPokazaniya(): ?string
{
return $this->pokazaniya;
}
public function setPokazaniya(?string $pokazaniya): self
{
$this->pokazaniya = $pokazaniya;
return $this;
}
public function getPreparation(): ?string
{
return $this->preparation;
}
public function setPreparation(?string $preparation): self
{
$this->preparation = $preparation;
return $this;
}
public function getProtivopokazaniya(): ?string
{
return $this->protivopokazaniya;
}
public function setProtivopokazaniya(?string $protivopokazaniya): self
{
$this->protivopokazaniya = $protivopokazaniya;
return $this;
}
public function getHideSignBtn(): ?array
{
return $this->hideSignBtn;
}
public function setHideSignBtn(?array $hideSignBtn): self
{
$this->hideSignBtn = $hideSignBtn;
return $this;
}
public function getQuiz(): ?array
{
return $this->quiz;
}
public function setQuiz(?array $quiz): self
{
$this->quiz = $quiz;
return $this;
}
public function getTags(): ?array
{
return $this->tags;
}
public function setTags(?array $tags): self
{
$this->tags = $tags;
return $this;
}
public function getTagsImportant(): ?array
{
return $this->tagsImportant;
}
public function setTagsImportant(?array $tagsImportant): self
{
$this->tagsImportant = $tagsImportant;
return $this;
}
public function getBannerImg(): ?string
{
return $this->bannerImg;
}
public function setBannerImg(?string $bannerImg): self
{
$this->bannerImg = $bannerImg;
return $this;
}
public function getBannerImgM(): ?string
{
return $this->bannerImgM;
}
public function setBannerImgM(?string $bannerImgM): self
{
$this->bannerImgM = $bannerImgM;
return $this;
}
public function getBannerImgUrl(): ?string
{
return $this->bannerImgUrl;
}
public function setBannerImgUrl(?string $bannerImgUrl): self
{
$this->bannerImgUrl = $bannerImgUrl;
return $this;
}
public function getClinics(): ?array
{
return $this->clinics;
}
public function setClinics(?array $clinics): self
{
$this->clinics = $clinics;
return $this;
}
public function getDownloadFile(): ?string
{
return $this->downloadFile;
}
public function setDownloadFile(?string $downloadFile): self
{
$this->downloadFile = $downloadFile;
return $this;
}
public function getFullWidthBanner(): ?string
{
return $this->fullWidthBanner;
}
public function setFullWidthBanner(?string $fullWidthBanner): self
{
$this->fullWidthBanner = $fullWidthBanner;
return $this;
}
public function getStaffUp(): ?array
{
return $this->staffUp;
}
public function setStaffUp(?array $staffUp): self
{
$this->staffUp = $staffUp;
return $this;
}
public function getAdvantages(): ?array
{
return $this->advantages;
}
public function setAdvantages(?array $advantages): self
{
$this->advantages = $advantages;
return $this;
}
public function getHidePicture(): ?int
{
return $this->hidePicture;
}
public function setHidePicture(?int $hidePicture): self
{
$this->hidePicture = $hidePicture;
return $this;
}
public function getKodUslug(): ?string
{
return $this->kodUslug;
}
public function setKodUslug(?string $kodUslug): self
{
$this->kodUslug = $kodUslug;
return $this;
}
public function getLinkPrice(): ?string
{
return $this->linkPrice;
}
public function setLinkPrice(?string $linkPrice): self
{
$this->linkPrice = $linkPrice;
return $this;
}
public function getPhotosTitle(): ?string
{
return $this->photosTitle;
}
public function setPhotosTitle(?string $photosTitle): self
{
$this->photosTitle = $photosTitle;
return $this;
}
public function getSaleId(): ?array
{
return $this->saleId;
}
public function setSaleId(?array $saleId): self
{
$this->saleId = $saleId;
return $this;
}
public function getSortStaff(): ?array
{
return $this->sortStaff;
}
public function setSortStaff(?array $sortStaff): self
{
$this->sortStaff = $sortStaff;
return $this;
}
public function getContraindicationsList(): ?string
{
return $this->contraindicationsList;
}
public function setContraindicationsList(?string $contraindicationsList): self
{
$this->contraindicationsList = $contraindicationsList;
return $this;
}
public function getCustomBlockText(): ?string
{
return $this->customBlockText;
}
public function setCustomBlockText(?string $customBlockText): self
{
$this->customBlockText = $customBlockText;
return $this;
}
public function getCustomBlockText2(): ?string
{
return $this->customBlockText2;
}
public function setCustomBlockText2(?string $customBlockText2): self
{
$this->customBlockText2 = $customBlockText2;
return $this;
}
public function getCustomBlockTitle(): ?string
{
return $this->customBlockTitle;
}
public function setCustomBlockTitle(?string $customBlockTitle): self
{
$this->customBlockTitle = $customBlockTitle;
return $this;
}
public function getCustomBlockTitle2(): ?string
{
return $this->customBlockTitle2;
}
public function setCustomBlockTitle2(?string $customBlockTitle2): self
{
$this->customBlockTitle2 = $customBlockTitle2;
return $this;
}
public function getIndicationsList(): ?string
{
return $this->indicationsList;
}
public function setIndicationsList(?string $indicationsList): self
{
$this->indicationsList = $indicationsList;
return $this;
}
public function getLinkArticlesServices(): ?array
{
return $this->linkArticlesServices;
}
public function setLinkArticlesServices(?array $linkArticlesServices): self
{
$this->linkArticlesServices = $linkArticlesServices;
return $this;
}
public function getPlusList(): ?string
{
return $this->plusList;
}
public function setPlusList(?string $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 getPrepareTitle(): ?string
{
return $this->prepareTitle;
}
public function setPrepareTitle(?string $prepareTitle): self
{
$this->prepareTitle = $prepareTitle;
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(): ?string
{
return $this->servicesList;
}
public function setServicesList(?string $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 getTextUp(): ?string
{
return $this->textUp;
}
public function setTextUp(?string $textUp): self
{
$this->textUp = $textUp;
return $this;
}
public function getTrainingText(): ?string
{
return $this->trainingText;
}
public function setTrainingText(?string $trainingText): self
{
$this->trainingText = $trainingText;
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;
}
public function getLinkFaq(): ?array
{
return $this->linkFaq;
}
public function setLinkFaq(?array $linkFaq): self
{
$this->linkFaq = $linkFaq;
return $this;
}
public function getLinkServices(): ?array
{
return $this->linkServices;
}
public function setLinkServices(?array $linkServices): self
{
$this->linkServices = $linkServices;
return $this;
}
public function getLinkStaff(): ?array
{
return $this->linkStaff;
}
public function setLinkStaff(?array $linkStaff): self
{
$this->linkStaff = $linkStaff;
return $this;
}
public function getPhotos(): ?array
{
return $this->photos;
}
public function setPhotos(?array $photos): self
{
$this->photos = $photos;
return $this;
}
}