<?php
namespace App\Entity\Otpusk;
//use App\Application\Sonata\MediaBundle\Entity\Gallery;
use App\Repository\Otpusk\CityRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\Criteria;
use Doctrine\Common\Collections\Expr\Comparison;
use Doctrine\ORM\EntityNotFoundException;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Yaml\Yaml;
use App\Entity\Otpusk\Geo\BaseObject;
/**
* @ORM\Entity(repositoryClass="App\Repository\Otpusk\CityRepository")
*
* @ORM\Table(
* name="tCities",
* options={"collate"="utf8"},
* uniqueConstraints={@ORM\UniqueConstraint(name="unique", columns={"fNameTr", "fCountryID"})}, indexes={@ORM\Index(name="cityWeight", columns={"fCountryID", "cityWeight", "fPriority"}), @ORM\Index(name="fName", columns={"fName", "fIATA"}), @ORM\Index(name="fCountryID", columns={"fCountryID", "fNameTr", "fName", "fIATA"}), @ORM\Index(name="gallery_id", columns={"gallery_id"}), @ORM\Index(name="fPriority", columns={"fPriority", "fTarget"})},
* )
*/
class City extends BaseObject
{
public function addAirport(Airport $airport): self
{
if (!$this->airports->contains($airport)) {
$this->airports->add($airport);
$airport->setCity($this);
}
return $this;
}
public function removeAirport(Airport $airport): self
{
if ($this->airports->contains($airport)) {
$this->airports->removeElement($airport);
if ($airport->getCity() === $this) {
$airport->setCity(null);
}
}
return $this;
}
private $imageSource = 'https://www.otpusk.com/foto/2/800x600/';
const ADDING_IMAGE_ACTION_ID = 10;
const TYPE_ARRAY = [94];
private $priorityTitle = [
'0' => "Обычный",
'1' => "Высокий",
'2' => "Максимальный"
];
/**
* @var Country
*
* @ORM\ManyToOne(targetEntity="App\Entity\Otpusk\Country", inversedBy="cities")
* @ORM\JoinColumn(name="fCountryId", referencedColumnName="rec_id", nullable=true)
*
*/
private $country;
/**
* @var Collection
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\Hotel", mappedBy="city")
*/
private $hotels;
/**
* @var Collection
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CitiesSimilar", mappedBy="citySimilar", cascade={"persist"}, orphanRemoval=true)
*/
private $similarCities;
/**
* @var Collection
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CitiesSimilar", mappedBy="citySimilarIn", cascade={"persist"}, orphanRemoval=true)
*/
private $similarCitiesIn;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\RubricCity", mappedBy="city", cascade={"persist"}, orphanRemoval=true)
*/
private $rubrics;
/**
* @var Collection|CountryPopular[]
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CountryPopular", mappedBy="city")
*/
private $countryPopulars;
/**
* @return Collection
*/
public function getHotels(): Collection
{
return $this->hotels;
}
/**
* @param Collection $hotels
* @return City
*/
public function setHotels(Collection $hotels): City
{
$this->hotels = $hotels;
return $this;
}
/**
* @param Hotel $hotel
*/
public function addHotel(Hotel $hotel)
{
if($this->hotels->contains($hotel)){
return;
}
$this->hotels->add($hotel);
$hotel->setCity($this);
}
/**
* @param Hotel $hotel
*/
public function removeHotel(Hotel $hotel)
{
if(!$this->hotels->contains($hotel)){
return;
}
$this->hotels->removeElement($hotel);
$hotel->setCity(null);
}
/**
* @var integer
*
* @ORM\Column(name="fCountryID", type="integer", options={"unsigned"=true})
*/
private $fCountryID;
/**
* @var string
*
* @ORM\Column(name="fIATA", type="string", length=4, options={"default":"","comment"="Код аэтопортов ИАТА"})
*/
private $fIATA;
/**
* @var string
*
* @ORM\Column(name="fName", type="string", length=64)
*
*/
private $fName;
/**
* @var string
*
* @ORM\Column(name="fNameAlt", type="text", length=65535, nullable=false, options={"comment"="Альтернативное название"})
*/
private $fNameAlt = '';
/**
* @var string
*
* @ORM\Column(name="fNameEng", type="string", length=64, options={"comment"="на английском"})
*/
private $fNameEng;
/**
* @var string
* @ORM\Column(name="fNameRd", type="string", length=64)
*/
private $fNameRd;
/**
* @var string
*
* @ORM\Column(name="fNameVn", type="string", length=64)
*/
private $fNameVn;
/**
* @var string
*
* @ORM\Column(name="fNamePr", type="string", length=64)
*/
private $fNamePr;
/**
* @var string
*
* @ORM\Column(name="fNameDt", type="string", length=64)
*/
private $fNameDt;
/**
* @var string
*
* @ORM\Column(name="fNameUkr", type="string", length=64)
*/
private $fNameUkr;
/**
* @var string
*
* @ORM\Column(name="fNameUkrRd", type="string", length=64)
*/
private $fNameUkrRd;
/**
* @var string
*
* @ORM\Column(name="fNameUkrVn", type="string", length=64)
*/
private $fNameUkrVn;
/**
* @var string
*
* @ORM\Column(name="fNameUkrPr", type="string", length=64)
*/
private $fNameUkrPr;
/**
* @var string
*
* @ORM\Column(name="fNameUkrDt", type="string", length=64)
*/
private $fNameUkrDt;
/**
* @var string
*
* @ORM\Column(name="fNameTr", type="string", length=64)
*/
private $fNameTr;
/**
* @var integer
*
* @ORM\Column(name="fTarget", type="smallint", length=1, options={"unsigned"=true})
*/
private $fTarget;
/**
* @var string
*
* @ORM\Column(name="fArrivals", type="string", length=200, options={"default":"","comment"="курорты прибытия"})
*/
private $fArrivals;
/**
* @var integer
* @ORM\Column(name="fPriority", type="smallint", length=1, options={"comment"="приоритет"})
*/
private $fPriority;
/**
* @var float
* @ORM\Column(name="fSouthWest", type="decimal", precision=8, scale=5, options={"default":NULL}, nullable=true)
*/
private $fSouthWest;
/**
* @var float
* @ORM\Column(name="fNorthEast", type="decimal", precision=8, scale=5, options={"default":NULL}, nullable=true)
*/
private $fNorthEast;
/**
* @var integer
*
* @ORM\Column(name="fZoom", type="smallint", length=3, options={"default":NULL}, nullable=true)
*/
private $fZoom;
/**
*/
public $tooltip;
// /**
// * @var Gallery|null
// * @ORM\OneToOne(targetEntity="App\Application\Sonata\MediaBundle\Entity\Gallery", cascade={"all"}, orphanRemoval=true)
// * @ORM\JoinColumn(name="gallery_id", referencedColumnName="id", onDelete="SET NULL")
// */
// private $gallery;
/**
* Вага сезона в рамках міста
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CitiesWeight", mappedBy="city", orphanRemoval=true, cascade={"persist"})
*/
private $citiesWeights;
/**
* Вага міста (курорта) в рамках країни
* @ORM\Column(name="cityWeight", type="integer", nullable=true, options={"comment"="Приоритет для посадочных страниц"})
*/
private $weight;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\PriceIndex", mappedBy="city", orphanRemoval=true, cascade={"persist"})
*/
private $priceIndex;
/**
*/
private $seoData;
/**
*/
private $guideSeo;
/**
*/
private $selected = false;
/**
*/
private $regionId = null;
/**
* @var int|null
*
* @ORM\Column(name="searchWeight", type="smallint", nullable=true, options={"unsigned"=true, "comment"="Вес для поиска"})
*/
private $searchWeight;
/**
* @var int|null
*
* @ORM\Column(name="gallery_id", type="integer", nullable=true)
*/
private $galleryId;
private $priceUah = null;
/**
* @ORM\Column(type="integer", nullable=true, options={"unsigned"=true,"comment"="связь с images.id=this.image AND objectIdobjectId=rec_id AND objectType=city"})
*/
private $image;
/**
* @var Collection|GeoCategoryValues[]
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\GeoCategoryValues", mappedBy="city", cascade={"persist"}, orphanRemoval=true)
*/
private $cityCategoryValues;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\TRefsCity", mappedBy="city", cascade={"persist"})
* @ORM\JoinColumn(name="rec_id", referencedColumnName="fBindId")
*/
private $faqText;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Otpusk\TRefsCity", mappedBy="text", cascade={"persist"})
* @ORM\JoinColumn(name="rec_id", referencedColumnName="fBindId")
*/
private $citiesText;
/**
* @ORM\OneToMany(targetEntity=GeoBlock::class, mappedBy="city", cascade={"persist"}, orphanRemoval=true)
*/
private $geoBlocks;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $language;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $language_ukr;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $currencyName;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $currencyName_ukr;
/**
* @ORM\Column(type="string", length=6, nullable=true, options={"comment"="Время полета в минутах"})
*/
private $flightTime;
/**
* @ORM\Column(type="string", length=6, nullable=true, options={"comment"="Местное время, GMT"})
*/
private $timeLocal;
/**
* @ORM\Column(type="string", length=28, nullable=true, options={"comment"="Часовой пояс"})
*/
private $timeZone;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $coffeeCost;
/**
* @ORM\Column(type="string", length=32, nullable=true)
*/
private $foodCost;
/**
* @ORM\Column(type="boolean", options={"default":0})
*/
private $publish;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameBy;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameEe;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLv;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNamePl;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameUz;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameRo;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameByRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameEeRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLtRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLvRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNamePlRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameUzRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameRoRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameByVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameEeVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLtVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLvVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNamePlVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameUzVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameRoVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameByPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameEePr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLtPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLvPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNamePlPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameUzPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameRoPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameByDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameEeDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLtDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameLvDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNamePlDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameUzDt;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameRoDt;
/**
* @ORM\Column(type="string", length=255)
*/
private $seasonalityMonths;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameKk;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameKkRd;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameKkVn;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameKkPr;
/**
* @ORM\Column(type="string", length=128)
*/
private $fNameKkDt;
/**
* @return Collection|GeoCategoryValues[]
*/
public function getCityCategoryValues(): Collection
{
return $this->cityCategoryValues;
}
public function addCity(GeoCategoryValues $value): self
{
if (!$this->cityCategoryValues->contains($value)) {
$this->cityCategoryValues[] = $value;
$value->setCity($this);
}
return $this;
}
public function removeCity(GeoCategoryValues $value): self
{
if ($this->cityCategoryValues->contains($value)) {
$this->cityCategoryValues->removeElement($value);
if ($value->getCity() === $this) {
$value->setCity(null);
}
}
return $this;
}
/**
* @return int
*/
public function getCountryID(): int
{
return $this->fCountryID;
}
/**
* @param int $fCountryID
*/
public function setCountryID(int $fCountryID): void
{
$this->fCountryID = $fCountryID;
}
/**
* @return string
*/
public function getIATA(): ?string
{
return $this->fIATA;
}
/**
* @param string $fIATA
*/
public function setIATA(?string $fIATA): void
{
if ($fIATA) $this->fIATA = $fIATA;
}
/**
* @return string
*/
public function getName(): string
{
return $this->fName ?? '';
}
public function getFname(): string
{
return $this->fName ?? '';
}
public function getFNameRu(): string
{
return $this->fName ?? '';
}
public function getFNameUa(): string
{
return $this->fNameUkr ?? '';
}
/**
* @param string $fName
*/
public function setName(string $fName): void
{
$this->fName = $fName;
}
public function setFname(string $fName): void
{
$this->fName = $fName;
}
/**
* @return string
*/
public function getNameAlt(): string
{
return $this->fNameAlt;
}
/**
* @param string $fNameAlt
*/
public function setNameAlt(string $fNameAlt): void
{
$this->fNameAlt = $fNameAlt;
}
/**
* @return string
*/
public function getNameEng(): string
{
return $this->fNameEng;
}
/**
* @param string $fNameEng
*/
public function setNameEng(string $fNameEng): void
{
$this->fNameEng = $fNameEng;
}
/**
* @return string
*/
public function getNameRd(): string
{
return $this->fNameRd;
}
/**
* @param string $fNameRd
*/
public function setNameRd(string $fNameRd): void
{
$this->fNameRd = $fNameRd;
}
/**
* @return string
*/
public function getNameVn(): string
{
return $this->fNameVn;
}
/**
* @param string $fNameVn
*/
public function setNameVn(string $fNameVn): void
{
$this->fNameVn = $fNameVn;
}
/**
* @return string
*/
public function getNamePr(): string
{
return $this->fNamePr;
}
/**
* @param string $fNamePr
*/
public function setNamePr(string $fNamePr): void
{
$this->fNamePr = $fNamePr;
}
/**
* @return string
*/
public function getNameDt(): string
{
return $this->fNameDt;
}
/**
* @param string $fNameDt
*/
public function setNameDt(string $fNameDt): void
{
$this->fNameDt = $fNameDt;
}
/**
* @return string
*/
public function getNameUkr(): string
{
return $this->fNameUkr;
}
/**
* @param string $fNameUkr
*/
public function setNameUkr(string $fNameUkr): void
{
$this->fNameUkr = $fNameUkr;
}
/**
* @return string
*/
public function getNameUkrRd(): string
{
return $this->fNameUkrRd;
}
/**
* @param string $fNameUkrRd
*/
public function setNameUkrRd(string $fNameUkrRd): void
{
$this->fNameUkrRd = $fNameUkrRd;
}
/**
* @return string
*/
public function getNameUkrVn(): string
{
return $this->fNameUkrVn;
}
/**
* @param string $fNameUkrVn
*/
public function setNameUkrVn(string $fNameUkrVn): void
{
$this->fNameUkrVn = $fNameUkrVn;
}
/**
* @return string
*/
public function getNameUkrPr(): string
{
return $this->fNameUkrPr;
}
/**
* @param string $fNameUkrPr
*/
public function setNameUkrPr(string $fNameUkrPr): void
{
$this->fNameUkrPr = $fNameUkrPr;
}
/**
* @return string
*/
public function getNameUkrDt(): string
{
return $this->fNameUkrDt;
}
/**
* @param string $fNameUkrDt
*/
public function setNameUkrDt(string $fNameUkrDt): void
{
$this->fNameUkrDt = $fNameUkrDt;
}
/**
* @return string
*/
public function getNameTr(): string
{
return str_replace(' ', '_', $this->fNameTr);
}
/**
* @param string $fNameTr
*/
public function setNameTr(string $fNameTr): void
{
//$this->fNameTr = str_replace('_', ' ', $fNameTr);
$this->fNameTr = $fNameTr;
}
/**
* @return int
*/
public function getTarget(): int
{
return $this->fTarget;
}
/**
* @param int $fTarget
*/
public function setTarget(int $fTarget): void
{
$this->fTarget = $fTarget;
}
/**
* @return string
*/
public function getArrivals(): ?string
{
return $this->fArrivals;
}
/**
* @param string $fArrivals
*/
public function setArrivals(?string $fArrivals): void
{
if (!empty($fArrivals)) $this->fArrivals = $fArrivals;
}
/**
* @return int
*/
public function getPriority(): int
{
return $this->fPriority ?? 0;
}
/**
* @param int $fPriority
*/
public function setPriority(int $fPriority): void
{
$this->fPriority = $fPriority;
}
/**
* @return float
*/
public function getSouthWest(): float
{
return $this->fSouthWest;
}
/**
* @param float $fSouthWest
*/
public function setSouthWest(float $fSouthWest): void
{
$this->fSouthWest = $fSouthWest;
}
/**
* @return float
*/
public function getNorthEast(): float
{
return $this->fNorthEast;
}
/**
* @param float $fNorthEast
*/
public function setNorthEast(float $fNorthEast): void
{
$this->fNorthEast = $fNorthEast;
}
/**
* @return int
*/
public function getZoom(): int
{
return $this->fZoom;
}
/**
* @param int $fZoom
*/
public function setZoom(int $fZoom): void
{
$this->fZoom = $fZoom;
}
public function __toString()
{
return $this->getName().(isset($this->country)?', '.$this->getCountry()->getName():'');
}
/**
* @return Country
*/
public function getCountry(): Country
{
return $this->country;
}
/**
* @param Country $country
*/
public function setCountry(Country $country): void
{
$this->country = $country;
}
/**
* @return int
*/
public function getSearchWeight(): int
{
return $this->searchWeight;
}
/**
* @param int $searchWeight
*/
public function setSearchWeight(int $searchWeight): void
{
$this->searchWeight = $searchWeight;
}
// /**
// * @return Gallery|null
// */
// public function getGallery(): ?Gallery
// {
// return $this->gallery;
// }
//
// /**
// * @param Gallery|null $gallery
// * @return self
// */
// public function setGallery(?Gallery $gallery): self
// {
// $this->gallery = $gallery;
// return $this;
// }
//
// /**
// * @return ArrayCollection
// */
// public function getMedias()
// {
// $medias = new ArrayCollection();
// if(empty($gallery = $this->getGallery()) || !$gallery->getEnabled()){
// return $medias;
// }
//
// foreach ($gallery->getGalleryHasMedias() as $galleryHasMedia){
// if (!$galleryHasMedia->getEnabled()) {
// continue;
// }
// if(!empty($galleryHasMedia->getMedia())){
// $medias->add($galleryHasMedia->getMedia());
// }
// }
//
// return $medias;
// }
//
// public function getMediasCount()
// {
// try{
// return $this->getMedias()->count();
// } catch (EntityNotFoundException $e){
// return '';
// }
// }
public function getPriorityTitle()
{
return $this->priorityTitle[$this->getPriority()] ?? 'Не определено';
}
public function __construct()
{
$this->rubrics = new ArrayCollection();
$this->hotels = new ArrayCollection();
$this->faqText = new ArrayCollection();
$this->citiesText = new ArrayCollection();
$this->citiesWeights = new ArrayCollection();
$this->priceIndex = new ArrayCollection();
$this->cityCategoryValues = new ArrayCollection();
$this->geoBlocks = new ArrayCollection();
$this->similarCities = new ArrayCollection();
$this->similarCitiesIn = new ArrayCollection();
$this->countryPopulars = new ArrayCollection();
$this->airports = new ArrayCollection();
}
/**
* @return Collection|CitiesWeight[]
*/
public function getCitiesWeights(): Collection
{
return $this->citiesWeights;
}
public function addCitiesWeight(CitiesWeight $citiesWeight)
{
if ($this->citiesWeights->contains($citiesWeight)) {
return;
}
$this->citiesWeights->add($citiesWeight);
$citiesWeight->setCity($this);
}
public function getWeight(): ?int
{
return $this->weight;
}
public function setWeight(?int $weight): self
{
$this->weight = $weight;
return $this;
}
/**
* @return Collection|CitiesWeight[]
*/
public function getPriceIndex(): Collection
{
return $this->priceIndex;
}
public function addPriceIndex(PriceIndex $priceIndex)
{
if ($this->priceIndex->contains($priceIndex)) {
return;
}
$this->priceIndex->add($priceIndex);
$priceIndex->setCity($this);
}
/**
* @return array
*/
public function getSeoData(): array
{
$value = Yaml::parseFile('../seofile.yaml');
$value = $value['seo']['excursions']['city'];
return array(
'title' => sprintf($value['title'], $this->getNameVn(), $this->getCountry()->getName(), date('Y')),
'description' => sprintf($value['description'], $this->getNameVn(), $this->getCountry()->getName(), date('Y')),
'keywords' => sprintf($value['keywords'], $this->getNameVn())
);
}
/**
* @return array
*/
public function getGuideSeo($locale = 'ru'): array
{
$value = Yaml::parseFile('../seofile.'.$locale.'.yaml');
$value = $value['seo']['tours']['guideCity'];
return ($locale == 'ua') ? array(
'title' => sprintf($value['title'], $this->getNameUkr(), $this->getCountry()->getNameUkr(), $this->getNameUkrPr()),
'description' => sprintf($value['description'], $this->getNameUkrPr(), $this->getNameUkrRd()),
'keywords' => sprintf($value['keywords'], $this->getNameUkr(), $this->getNameUkrPr(), $this->getNameUkrPr(), $this->getNameUkrRd()),
'h1' => sprintf($value['h1'], $this->getNameUkr())
) : array(
'title' => sprintf($value['title'], $this->getName(), $this->getCountry()->getName(), $this->getNamePr()),
'description' => sprintf($value['description'], $this->getNamePr(), $this->getNameRd()),
'keywords' => sprintf($value['keywords'], $this->getName(), $this->getNamePr(), $this->getNamePr(), $this->getNameRd()),
'h1' => sprintf($value['h1'], $this->getName())
);
}
/**
*/
public function getSelected()
{
return $this->selected;
}
public function setSelected()
{
$this->selected = true;
return $this;
}
public function getGalleryId()
{
return $this->galleryId;
}
/**
* @param int|null $galleryId
* @return $this
*/
public function setGalleryId(?int $galleryId)
{
$this->galleryId = $galleryId;
return $this;
}
public function getRegionId()
{
return $this->regionId;
}
/**
* @param int|null $regionId
* @return $this
*/
public function setRegionId(?int $regionId)
{
$this->regionId = $regionId;
return $this;
}
public function getFaqText(): Collection
{
$criteria = Criteria::create();
$criteria->where($criteria::expr()->eq('type', 96))
->orderBy(array('fSort' => 'DESC'));
$this->faqText = $this->faqText->matching($criteria);
return $this->faqText;
}
public function addFaqText($faqText): self
{
$faqText->setType(96);
if (!$this->faqText->contains($faqText)) {
$this->faqText[] = $faqText;
$faqText->addCity($this);
}
return $this;
}
public function setFaqText($faqText)
{
if (gettype($faqText) == "array") {
$faqText = new ArrayCollection($faqText);
}
foreach($faqText as $text) {
$text->addCity($this);
}
$this->faqText = $faqText;
return $this;
}
public function removeFaqText(TRefsCity $faqText): self
{
if ($this->faqText->contains($faqText)) {
$this->faqText->removeElement($faqText);
$faqText->removeCity($this);
}
return $this;
}
/**
* @return Collection
*/
public function getCitiesText(): Collection
{
return $this->citiesText;
}
public function getImage(): ?int
{
return $this->image;
}
public function setImage(?int $image): self
{
$this->image = $image;
return $this;
}
function getImagePath()
{
if (!is_null($this->image)) {
return $this->imageSource.sprintf(
'%02d/%02d/%02d/%02d/',
($this->image / 100000000) % 100, ($this->image / 1000000) % 100, ($this->image / 10000) % 100, ($this->image / 100) % 100
) . $this->image . '.webp';
}
return null;
}
public function getPriceUah()
{
return $this->priceUah;
}
public function setPriceUah($priceUah): void
{
$this->priceUah = $priceUah;
}
/**
* @return Collection|GeoBlock[]
*/
public function getGeoBlocks(): Collection
{
return $this->geoBlocks;
}
public function addGeoBlock(GeoBlock $geoBlock): self
{
if (!$this->geoBlocks->contains($geoBlock)) {
$this->geoBlocks[] = $geoBlock;
$geoBlock->setCity($this);
}
return $this;
}
public function removeGeoBlock(GeoBlock $geoBlock): self
{
if ($this->geoBlocks->removeElement($geoBlock)) {
// set the owning side to null (unless already changed)
if ($geoBlock->getCity() === $this) {
$geoBlock->setCity(null);
}
}
return $this;
}
public function getLanguage(): ?string
{
return $this->language;
}
public function setLanguage($language): void
{
$this->Language = $language;
}
public function getLanguageUkr(): ?string
{
return $this->language_ukr;
}
public function setLanguageUkr($languageukr): void
{
$this->Language_ukr = $languageukr;
}
public function getCurrencyName(): ?string
{
return $this->currencyName;
}
public function setCurrencyName($currencyName): void
{
$this->currencyName = $currencyName;
}
public function getCurrencyNameUkr(): ?string
{
return $this->currencyName_ukr;
}
public function setCurrencyNameUkr($currencynameukr): void
{
$this->currencyName_ukr = $currencynameukr;
}
public function getFlightTime(): ?string
{
return $this->flightTime;
}
public function setFlightTime($flightTime): void
{
$this->flightTime = $flightTime;
}
public function getTimeLocal(): ?string
{
return $this->timeLocal;
}
public function setTimeLocal($timeLocal): void
{
$this->timeLocal = $timeLocal;
}
public function getTimeZone(): ?string
{
return $this->timeZone;
}
public function setTimeZone($timeZone): void
{
$this->timeZone = $timeZone;
}
public function getCoffeeCost(): ?string
{
return $this->coffeeCost;
}
public function setCoffeeCost($coffeeCost): void
{
$this->coffeeCost = $coffeeCost;
}
public function getFoodCost(): ?string
{
return $this->foodCost;
}
public function setFoodCost($foodCost): void
{
$this->foodCost = $foodCost;
}
public function getPublish(): ?bool
{
return $this->publish;
}
public function setPublish($publish): void
{
$this->publish = $publish;
}
/**
* @return Collection|CitiesSimilar[]
*/
public function getSimilarCities(): Collection
{
return $this->similarCities;
}
public function addSimilarCity(CitiesSimilar $similarCities): self
{
if (!$this->similarCities->contains($similarCities)) {
$this->similarCities[] = $similarCities;
$similarCities->setCitySimilar($this);
}
return $this;
}
public function removeSimilarCity(CitiesSimilar $similarCities): self
{
if ($this->similarCities->contains($similarCities)) {
$this->similarCities->removeElement($similarCities);
if ($similarCities->getCitySimilar() === $this) {
$similarCities->setCitySimilar(null);
}
}
return $this;
}
/**
* @return Collection|CitiesSimilar[]
*/
public function getSimilarCitiesIn(): Collection
{
return $this->similarCitiesIn;
}
public function addSimilarCityIn(CitiesSimilar $similarCitiesIn): self
{
if (!$this->similarCitiesIn->contains($similarCitiesIn)) {
$this->similarCitiesIn[] = $similarCitiesIn;
$similarCitiesIn->setCitySimilarIn($this);
}
return $this;
}
public function removeSimilarCityIn(CitiesSimilar $similarCitiesIn): self
{
if ($this->similarCitiesIn->contains($similarCitiesIn)) {
$this->similarCitiesIn->removeElement($similarCitiesIn);
if ($similarCitiesIn->getCitySimilarIn() === $this) {
$similarCitiesIn->setCitySimilarIn(null);
}
}
return $this;
}
/**
* @return Collection|RubricCity[]
*/
public function getRubrics(): Collection
{
return $this->rubrics;
}
public function addRubric(RubricCity $rubric): self
{
if (!$this->rubrics->contains($rubric)) {
$this->rubrics[] = $rubric;
$rubric->setCity($this);
}
return $this;
}
public function removeRubric(RubricCity $rubric): self
{
if ($this->rubrics->contains($rubric)) {
$this->rubrics->removeElement($rubric);
if ($rubric->getCity() === $this) {
$rubric->setCity(null);
}
}
return $this;
}
/**
* @return Collection|CountryPopular[]
*/
public function getCountryPopulars(): Collection
{
return $this->countryPopulars;
}
public function addCountryPopular(CountryPopular $countryPopular): self
{
if (!$this->countryPopulars->contains($countryPopular)) {
$this->countryPopulars[] = $countryPopular;
$countryPopular->setCity($this);
}
return $this;
}
public function removeCountryPopular(CountryPopular $countryPopular): self
{
if ($this->countryPopulars->contains($countryPopular)) {
$this->countryPopulars->removeElement($countryPopular);
if ($countryPopular->getCity() === $this) {
$countryPopular->setCity(null);
}
}
return $this;
}
/**
* @return int
*/
public function getFPriority(): int
{
return $this->fPriority ?? 0;
}
/**
* @param int $fPriority
*/
public function setFPriority(int $fPriority): void
{
$this->fPriority = $fPriority;
}
public function getTypeLabel(): string
{
return self::LABEL_CITY;
}
public function getFNameBy(): ?string
{
return $this->fNameBy;
}
public function setFNameBy(string $fNameBy): self
{
$this->fNameBy = $fNameBy;
return $this;
}
public function getFNameEe(): ?string
{
return $this->fNameEe;
}
public function setFNameEe(string $fNameEe): self
{
$this->fNameEe = $fNameEe;
return $this;
}
public function getFNameLt(): ?string
{
return $this->fNameLt;
}
public function setFNameLt(string $fNameLt): self
{
$this->fNameLt = $fNameLt;
return $this;
}
public function getFNameLv(): ?string
{
return $this->fNameLv;
}
public function setFNameLv(string $fNameLv): self
{
$this->fNameLv = $fNameLv;
return $this;
}
public function getFNamePl(): ?string
{
return $this->fNamePl;
}
public function setFNamePl(string $fNamePl): self
{
$this->fNamePl = $fNamePl;
return $this;
}
public function getFNameUz(): ?string
{
return $this->fNameUz;
}
public function setFNameUz(string $fNameUz): self
{
$this->fNameUz = $fNameUz;
return $this;
}
public function getFNameRo(): ?string
{
return $this->fNameRo;
}
public function setFNameRo(string $fNameRo): self
{
$this->fNameRo = $fNameRo;
return $this;
}
public function getFNameByRd(): ?string
{
return $this->fNameByRd;
}
public function setFNameByRd(string $fNameByRd): self
{
$this->fNameByRd = $fNameByRd;
return $this;
}
public function getFNameEeRd(): ?string
{
return $this->fNameEeRd;
}
public function setFNameEeRd(string $fNameEeRd): self
{
$this->fNameEeRd = $fNameEeRd;
return $this;
}
public function getFNameLtRd(): ?string
{
return $this->fNameLtRd;
}
public function setFNameLtRd(string $fNameLtRd): self
{
$this->fNameLtRd = $fNameLtRd;
return $this;
}
public function getFNameLvRd(): ?string
{
return $this->fNameLvRd;
}
public function setFNameLvRd(string $fNameLvRd): self
{
$this->fNameLvRd = $fNameLvRd;
return $this;
}
public function getFNamePlRd(): ?string
{
return $this->fNamePlRd;
}
public function setFNamePlRd(string $fNamePlRd): self
{
$this->fNamePlRd = $fNamePlRd;
return $this;
}
public function getFNameUzRd(): ?string
{
return $this->fNameUzRd;
}
public function setFNameUzRd(string $fNameUzRd): self
{
$this->fNameUzRd = $fNameUzRd;
return $this;
}
public function getFNameRoRd(): ?string
{
return $this->fNameRoRd;
}
public function setFNameRoRd(string $fNameRoRd): self
{
$this->fNameRoRd = $fNameRoRd;
return $this;
}
public function getFNameByVn(): ?string
{
return $this->fNameByVn;
}
public function setFNameByVn(string $fNameByVn): self
{
$this->fNameByVn = $fNameByVn;
return $this;
}
public function getFNameEeVn(): ?string
{
return $this->fNameEeVn;
}
public function setFNameEeVn(string $fNameEeVn): self
{
$this->fNameEeVn = $fNameEeVn;
return $this;
}
public function getFNameLtVn(): ?string
{
return $this->fNameLtVn;
}
public function setFNameLtVn(string $fNameLtVn): self
{
$this->fNameLtVn = $fNameLtVn;
return $this;
}
public function getFNameLvVn(): ?string
{
return $this->fNameLvVn;
}
public function setFNameLvVn(string $fNameLvVn): self
{
$this->fNameLvVn = $fNameLvVn;
return $this;
}
public function getFNamePlVn(): ?string
{
return $this->fNamePlVn;
}
public function setFNamePlVn(string $fNamePlVn): self
{
$this->fNamePlVn = $fNamePlVn;
return $this;
}
public function getFNameUzVn(): ?string
{
return $this->fNameUzVn;
}
public function setFNameUzVn(string $fNameUzVn): self
{
$this->fNameUzVn = $fNameUzVn;
return $this;
}
public function getFNameRoVn(): ?string
{
return $this->fNameRoVn;
}
public function setFNameRoVn(string $fNameRoVn): self
{
$this->fNameRoVn = $fNameRoVn;
return $this;
}
public function getFNameByPr(): ?string
{
return $this->fNameByPr;
}
public function setFNameByPr(string $fNameByPr): self
{
$this->fNameByPr = $fNameByPr;
return $this;
}
public function getFNameEePr(): ?string
{
return $this->fNameEePr;
}
public function setFNameEePr(string $fNameEePr): self
{
$this->fNameEePr = $fNameEePr;
return $this;
}
public function getFNameLtPr(): ?string
{
return $this->fNameLtPr;
}
public function setFNameLtPr(string $fNameLtPr): self
{
$this->fNameLtPr = $fNameLtPr;
return $this;
}
public function getFNameLvPr(): ?string
{
return $this->fNameLvPr;
}
public function setFNameLvPr(string $fNameLvPr): self
{
$this->fNameLvPr = $fNameLvPr;
return $this;
}
public function getFNamePlPr(): ?string
{
return $this->fNamePlPr;
}
public function setFNamePlPr(string $fNamePlPr): self
{
$this->fNamePlPr = $fNamePlPr;
return $this;
}
public function getFNameUzPr(): ?string
{
return $this->fNameUzPr;
}
public function setFNameUzPr(string $fNameUzPr): self
{
$this->fNameUzPr = $fNameUzPr;
return $this;
}
public function getFNameRoPr(): ?string
{
return $this->fNameRoPr;
}
public function setFNameRoPr(string $fNameRoPr): self
{
$this->fNameRoPr = $fNameRoPr;
return $this;
}
public function getFNameByDt(): ?string
{
return $this->fNameByDt;
}
public function setFNameByDt(string $fNameByDt): self
{
$this->fNameByDt = $fNameByDt;
return $this;
}
public function getFNameEeDt(): ?string
{
return $this->fNameEeDt;
}
public function setFNameEeDt(string $fNameEeDt): self
{
$this->fNameEeDt = $fNameEeDt;
return $this;
}
public function getFNameLtDt(): ?string
{
return $this->fNameLtDt;
}
public function setFNameLtDt(string $fNameLtDt): self
{
$this->fNameLtDt = $fNameLtDt;
return $this;
}
public function getFNameLvDt(): ?string
{
return $this->fNameLvDt;
}
public function setFNameLvDt(string $fNameLvDt): self
{
$this->fNameLvDt = $fNameLvDt;
return $this;
}
public function getFNamePlDt(): ?string
{
return $this->fNamePlDt;
}
public function setFNamePlDt(string $fNamePlDt): self
{
$this->fNamePlDt = $fNamePlDt;
return $this;
}
public function getFNameUzDt(): ?string
{
return $this->fNameUzDt;
}
public function setFNameUzDt(string $fNameUzDt): self
{
$this->fNameUzDt = $fNameUzDt;
return $this;
}
public function getFNameRoDt(): ?string
{
return $this->fNameRoDt;
}
public function setFNameRoDt(string $fNameRoDt): self
{
$this->fNameRoDt = $fNameRoDt;
return $this;
}
public function timezonList(): array
{
return array (
'(UTC-11:00) Midway Island' => 'Pacific/Midway',
'(UTC-11:00) Samoa' => 'Pacific/Samoa',
'(UTC-10:00) Hawaii' => 'Pacific/Honolulu',
'(UTC-09:00) Alaska' => 'US/Alaska',
'(UTC-08:00) Pacific Time (US & Canada)' => 'America/Los_Angeles',
'(UTC-08:00) Tijuana' => 'America/Tijuana',
'(UTC-07:00) Arizona' => 'US/Arizona',
'(UTC-07:00) Chihuahua' => 'America/Chihuahua',
'(UTC-07:00) La Paz' => 'America/Chihuahua',
'(UTC-07:00) Mazatlan' => 'America/Mazatlan',
'(UTC-07:00) Mountain Time (US & Canada)' => 'US/Mountain',
'(UTC-06:00) Central America' => 'America/Managua',
'(UTC-06:00) Central Time (US & Canada)' => 'US/Central',
'(UTC-06:00) Guadalajara' => 'America/Mexico_City',
'(UTC-06:00) Mexico City' => 'America/Mexico_City',
'(UTC-06:00) Monterrey' => 'America/Monterrey',
'(UTC-06:00) Saskatchewan' => 'Canada/Saskatchewan',
'(UTC-05:00) Bogota' => 'America/Bogota',
'(UTC-05:00) Eastern Time (US & Canada)' => 'US/Eastern',
'(UTC-05:00) Indiana (East)' => 'US/East-Indiana',
'(UTC-05:00) Lima' => 'America/Lima',
'(UTC-05:00) Quito' => 'America/Bogota',
'(UTC-04:00) Atlantic Time (Canada)' => 'Canada/Atlantic',
'(UTC-04:30) Caracas' => 'America/Caracas',
'(UTC-04:00) La Paz' => 'America/La_Paz',
'(UTC-04:00) Santiago' => 'America/Santiago',
'(UTC-03:30) Newfoundland' => 'Canada/Newfoundland',
'(UTC-03:00) Brasilia' => 'America/Sao_Paulo',
'(UTC-03:00) Buenos Aires' => 'America/Argentina/Buenos_Aires',
'(UTC-03:00) Georgetown' => 'America/Argentina/Buenos_Aires',
'(UTC-03:00) Greenland' => 'America/Godthab',
'(UTC-02:00) Mid-Atlantic' => 'America/Noronha',
'(UTC-01:00) Azores' => 'Atlantic/Azores',
'(UTC-01:00) Cape Verde Is.' => 'Atlantic/Cape_Verde',
'(UTC+00:00) Casablanca' => 'Africa/Casablanca',
'(UTC+00:00) Edinburgh' => 'Europe/London',
'(UTC+00:00) Greenwich Mean Time : Dublin' => 'Etc/Greenwich',
'(UTC+00:00) Lisbon' => 'Europe/Lisbon',
'(UTC+00:00) London' => 'Europe/London',
'(UTC+00:00) Monrovia' => 'Africa/Monrovia',
'(UTC+00:00) UTC' => 'UTC',
'(UTC+01:00) Amsterdam' => 'Europe/Amsterdam',
'(UTC+01:00) Belgrade' => 'Europe/Belgrade',
'(UTC+01:00) Berlin' => 'Europe/Berlin',
'(UTC+01:00) Bern' => 'Europe/Berlin',
'(UTC+01:00) Bratislava' => 'Europe/Bratislava',
'(UTC+01:00) Brussels' => 'Europe/Brussels',
'(UTC+01:00) Budapest' => 'Europe/Budapest',
'(UTC+01:00) Copenhagen' => 'Europe/Copenhagen',
'(UTC+01:00) Ljubljana' => 'Europe/Ljubljana',
'(UTC+01:00) Madrid' => 'Europe/Madrid',
'(UTC+01:00) Paris' => 'Europe/Paris',
'(UTC+01:00) Prague' => 'Europe/Prague',
'(UTC+01:00) Rome' => 'Europe/Rome',
'(UTC+01:00) Sarajevo' => 'Europe/Sarajevo',
'(UTC+01:00) Skopje' => 'Europe/Skopje',
'(UTC+01:00) Stockholm' => 'Europe/Stockholm',
'(UTC+01:00) Vienna' => 'Europe/Vienna',
'(UTC+01:00) Warsaw' => 'Europe/Warsaw',
'(UTC+01:00) West Central Africa' => 'Africa/Lagos',
'(UTC+01:00) Zagreb' => 'Europe/Zagreb',
'(UTC+02:00) Athens' => 'Europe/Athens',
'(UTC+02:00) Bucharest' => 'Europe/Bucharest',
'(UTC+02:00) Cairo' => 'Africa/Cairo',
'(UTC+02:00) Harare' => 'Africa/Harare',
'(UTC+02:00) Helsinki' => 'Europe/Helsinki',
'(UTC+02:00) Istanbul' => 'Europe/Istanbul',
'(UTC+02:00) Jerusalem' => 'Asia/Jerusalem',
'(UTC+02:00) Kyiv' => 'Europe/Helsinki',
'(UTC+02:00) Pretoria' => 'Africa/Johannesburg',
'(UTC+02:00) Riga' => 'Europe/Riga',
'(UTC+02:00) Sofia' => 'Europe/Sofia',
'(UTC+02:00) Tallinn' => 'Europe/Tallinn',
'(UTC+02:00) Vilnius' => 'Europe/Vilnius',
'(UTC+03:00) Baghdad' => 'Asia/Baghdad',
'(UTC+03:00) Kuwait' => 'Asia/Kuwait',
'(UTC+03:00) Minsk' => 'Europe/Minsk',
'(UTC+03:00) Nairobi' => 'Africa/Nairobi',
'(UTC+03:00) Riyadh' => 'Asia/Riyadh',
'(UTC+03:00) Volgograd' => 'Europe/Volgograd',
'(UTC+03:30) Tehran' => 'Asia/Tehran',
'(UTC+04:00) Abu Dhabi' => 'Asia/Muscat',
'(UTC+04:00) Baku' => 'Asia/Baku',
'(UTC+04:00) Moscow' => 'Europe/Moscow',
'(UTC+04:00) Muscat' => 'Asia/Muscat',
'(UTC+04:00) St. Petersburg' => 'Europe/Moscow',
'(UTC+04:00) Tbilisi' => 'Asia/Tbilisi',
'(UTC+04:00) Yerevan' => 'Asia/Yerevan',
'(UTC+04:30) Kabul' => 'Asia/Kabul',
'(UTC+05:00) Islamabad' => 'Asia/Karachi',
'(UTC+05:00) Karachi' => 'Asia/Karachi',
'(UTC+05:00) Tashkent' => 'Asia/Tashkent',
'(UTC+05:30) Chennai' => 'Asia/Calcutta',
'(UTC+05:30) Kolkata' => 'Asia/Kolkata',
'(UTC+05:30) Mumbai' => 'Asia/Calcutta',
'(UTC+05:30) New Delhi' => 'Asia/Calcutta',
'(UTC+05:30) Sri Jayawardenepura' => 'Asia/Calcutta',
'(UTC+05:45) Kathmandu' => 'Asia/Katmandu',
'(UTC+06:00) Almaty' => 'Asia/Almaty',
'(UTC+06:00) Astana' => 'Asia/Dhaka',
'(UTC+06:00) Dhaka' => 'Asia/Dhaka',
'(UTC+06:00) Ekaterinburg' => 'Asia/Yekaterinburg',
'(UTC+06:30) Rangoon' => 'Asia/Rangoon',
'(UTC+07:00) Bangkok' => 'Asia/Bangkok',
'(UTC+07:00) Hanoi' => 'Asia/Bangkok',
'(UTC+07:00) Jakarta' => 'Asia/Jakarta',
'(UTC+07:00) Novosibirsk' => 'Asia/Novosibirsk',
'(UTC+08:00) Beijing' => 'Asia/Hong_Kong',
'(UTC+08:00) Chongqing' => 'Asia/Chongqing',
'(UTC+08:00) Hong Kong' => 'Asia/Hong_Kong',
'(UTC+08:00) Krasnoyarsk' => 'Asia/Krasnoyarsk',
'(UTC+08:00) Kuala Lumpur' => 'Asia/Kuala_Lumpur',
'(UTC+08:00) Perth' => 'Australia/Perth',
'(UTC+08:00) Singapore' => 'Asia/Singapore',
'(UTC+08:00) Taipei' => 'Asia/Taipei',
'(UTC+08:00) Ulaan Bataar' => 'Asia/Ulan_Bator',
'(UTC+08:00) Urumqi' => 'Asia/Urumqi',
'(UTC+09:00) Irkutsk' => 'Asia/Irkutsk',
'(UTC+09:00) Osaka' => 'Asia/Tokyo',
'(UTC+09:00) Sapporo' => 'Asia/Tokyo',
'(UTC+09:00) Seoul' => 'Asia/Seoul',
'(UTC+09:00) Tokyo' => 'Asia/Tokyo',
'(UTC+09:30) Adelaide' => 'Australia/Adelaide',
'(UTC+09:30) Darwin' => 'Australia/Darwin',
'(UTC+10:00) Brisbane' => 'Australia/Brisbane',
'(UTC+10:00) Canberra' => 'Australia/Canberra',
'(UTC+10:00) Guam' => 'Pacific/Guam',
'(UTC+10:00) Hobart' => 'Australia/Hobart',
'(UTC+10:00) Melbourne' => 'Australia/Melbourne',
'(UTC+10:00) Port Moresby' => 'Pacific/Port_Moresby',
'(UTC+10:00) Sydney' => 'Australia/Sydney',
'(UTC+10:00) Yakutsk' => 'Asia/Yakutsk',
'(UTC+11:00) Vladivostok' => 'Asia/Vladivostok',
'(UTC+12:00) Auckland' => 'Pacific/Auckland',
'(UTC+12:00) Fiji' => 'Pacific/Fiji',
'(UTC+12:00) International Date Line West' => 'Pacific/Kwajalein',
'(UTC+12:00) Kamchatka' => 'Asia/Kamchatka',
'(UTC+12:00) Magadan' => 'Asia/Magadan',
'(UTC+12:00) Marshall Is.' => 'Pacific/Fiji',
'(UTC+12:00) New Caledonia' => 'Asia/Magadan',
'(UTC+12:00) Solomon Is.' => 'Asia/Magadan',
'(UTC+12:00) Wellington' => 'Pacific/Auckland',
'(UTC+13:00) Nuku\'alofa' => 'Pacific/Tongatapu'
);
}
public function getSeasonalityMonths(): ?string
{
return $this->seasonalityMonths;
}
public function setSeasonalityMonths(string $seasonalityMonths): self
{
$this->seasonalityMonths = $seasonalityMonths;
return $this;
}
public function getFNameKk(): ?string
{
return $this->fNameKk;
}
public function setFNameKk(string $fNameKk): self
{
$this->fNameKk = $fNameKk;
return $this;
}
public function getFNameKkRd(): ?string
{
return $this->fNameKkRd;
}
public function setFNameKkRd(string $fNameKkRd): self
{
$this->fNameKkRd = $fNameKkRd;
return $this;
}
public function getFNameKkVn(): ?string
{
return $this->fNameKkVn;
}
public function setFNameKkVn(string $fNameKkVn): self
{
$this->fNameKkVn = $fNameKkVn;
return $this;
}
public function getFNameKkPr(): ?string
{
return $this->fNameKkPr;
}
public function setFNameKkPr(string $fNameKkPr): self
{
$this->fNameKkPr = $fNameKkPr;
return $this;
}
public function getFNameKkDt(): ?string
{
return $this->fNameKkDt;
}
public function setFNameKkDt(string $fNameKkDt): self
{
$this->fNameKkDt = $fNameKkDt;
return $this;
}
}