src/Entity/Otpusk/Country.php line 22

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Otpusk;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\Common\Collections\Criteria;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Yaml\Yaml;
  8. use App\Entity\Otpusk\Geo\BaseObject;
  9. /**
  10.  * @ORM\Entity(repositoryClass="App\Repository\Otpusk\CountryRepository")
  11.  *
  12.  * @ORM\Table(
  13.  *     name="tCountries",
  14.  *     options={"collate"="utf8"},
  15.  *     uniqueConstraints={@ORM\UniqueConstraint(name="unique", columns={"fNameTr", "fContinent"}), @ORM\UniqueConstraint(name="fCode", columns={"fCode"})}, indexes={@ORM\Index(name="fCapitalID", columns={"fCapitalID"}), @ORM\Index(name="fCountry", columns={"fCountry", "fNameTr"}), @ORM\Index(name="fPriority", columns={"fPriority"}), @ORM\Index(name="fTransport", columns={"fTransport"}), @ORM\Index(name="fIATA", columns={"fIATA"}), @ORM\Index(name="fNameTr", columns={"fNameTr"})}
  16.  *     )
  17.  */
  18. class Country extends BaseObject
  19. {
  20.     private $imageSource 'https://www.otpusk.com/foto/2/800x600/';
  21.     /**
  22.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\RubricCountry", mappedBy="country", cascade={"persist"}, orphanRemoval=true)
  23.      */
  24.     private $rubrics;
  25.     /**
  26.      * @var Collection
  27.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CountriesSimilar", mappedBy="countrySimilar", cascade={"persist"}, orphanRemoval=true)
  28.      */
  29.     private $similarCountries;
  30.     /**
  31.      * @var Collection
  32.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CountriesSimilar", mappedBy="countrySimilarIn", cascade={"persist"}, orphanRemoval=true)
  33.      */
  34.     private $similarCountriesIn;
  35.     /**
  36.      * @var Collection
  37.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\City", mappedBy="country")
  38.      */
  39.     private $cities;
  40.     /**
  41.      * @var string
  42.      *
  43.      * @ORM\Column(name="fCode", type="string", length=2, options={"default":""})
  44.      */
  45.     private $fCode;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="fIATA", type="string", length=3)
  50.      */
  51.     private $fIATA;
  52.     /**
  53.      * @var string
  54.      * @ORM\Column(name="fCountry", type="string", length=64)
  55.      *
  56.      */
  57.     private $fCountry;
  58.     /**
  59.      * @var string
  60.      *
  61.      * @ORM\Column(name="fNameAlt", type="text", length=65535, nullable=false, options={"comment"="Альтернативное название"})
  62.      */
  63.     private $fNameAlt '';
  64.     /**
  65.      * @var string
  66.      *
  67.      * @ORM\Column(name="fNameRd", type="string", length=64)
  68.      */
  69.     private $fNameRd;
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="fNameVn", type="string", length=64)
  74.      */
  75.     private $fNameVn;
  76.     /**
  77.      * @var string
  78.      *
  79.      * @ORM\Column(name="fNamePr", type="string", length=64)
  80.      */
  81.     private $fNamePr;
  82.     /**
  83.      * @var string
  84.      *
  85.      * @ORM\Column(name="fNameDt", type="string", length=64)
  86.      */
  87.     private $fNameDt;
  88.     /**
  89.      * @var string
  90.      *
  91.      * @ORM\Column(name="fNameUkr", type="string", length=64)
  92.      */
  93.     private $fNameUkr;
  94.     /**
  95.      * @var string
  96.      *
  97.      * @ORM\Column(name="fNameUkrRd", type="string", length=64)
  98.      */
  99.     private $fNameUkrRd;
  100.     /**
  101.      * @var string
  102.      *
  103.      * @ORM\Column(name="fNameUkrVn", type="string", length=64)
  104.      */
  105.     private $fNameUkrVn;
  106.     /**
  107.      * @var string
  108.      *
  109.      * @ORM\Column(name="fNameUkrPr", type="string", length=64)
  110.      */
  111.     private $fNameUkrPr;
  112.     /**
  113.      * @var string
  114.      *
  115.      * @ORM\Column(name="fNameUkrDt", type="string", length=64)
  116.      */
  117.     private $fNameUkrDt;
  118.     /**
  119.      * @var string
  120.      *
  121.      * @ORM\Column(name="fNameTr", type="string", length=64)
  122.      */
  123.     private $fNameTr;
  124.     /**
  125.      * @var integer
  126.      *
  127.      * @ORM\Column(name="fCapitalID", type="integer", length=6, options={"unsigned"=true, "default":0})
  128.      */
  129.     private $fCapitalID;
  130.     /**
  131.      * @var integer
  132.      *
  133.      * @ORM\Column(name="fContinent", type="smallint", length=2, options={"unsigned"=true})
  134.      */
  135.     private $fContinent;
  136.     /**
  137.      * @var string
  138.      *
  139.      * @ORM\Column(name="fTour", type="tCountriesFTour", options={"default":NULL}, nullable=true)
  140.      */
  141.     private $fTour;
  142.     /**
  143.      * @var string
  144.      *
  145.      * @ORM\Column(name="fTransport", type="tCountriesFTransport", options={"default":"air"})
  146.      */
  147.     private $fTransport;
  148.     /**
  149.      * @var string
  150.      *
  151.      * @ORM\Column(name="fCurrency", type="tCountriesFCurrency", type="string", options={"default":"usd"}, nullable=false)
  152.      */
  153.     private $fCurrency;
  154.     /**
  155.      * @var string
  156.      *
  157.      * @ORM\Column(name="fVisa", type="tCountriesFVisa", type="string", options={"default":NULL}, nullable=true)
  158.      */
  159.     private $fVisa;
  160.     /**
  161.      * @var string
  162.      *
  163.      * @ORM\Column(name="fOnRequest", type="tCountriesFOnRequest", options={"default":"no"}, nullable=false)
  164.      */
  165.     private $fOnRequest;
  166.     /**
  167.      * @var integer
  168.      *
  169.      * @ORM\Column(name="fPriority", type="smallint", length=1)
  170.      */
  171.     private $fPriority;
  172.     /**
  173.      * @var float
  174.      *
  175.      * @ORM\Column(name="fSouthWest", type="decimal", precision=8, scale=5, options={"default":NULL}, nullable=true)
  176.      */
  177.     private $fSouthWest;
  178.     /**
  179.      * @var float
  180.      *
  181.      * @ORM\Column(name="fNorthEast", type="decimal", precision=8, scale=5, options={"default":NULL}, nullable=true)
  182.      */
  183.     private $fNorthEast;
  184.     /**
  185.      * @var integer
  186.      *
  187.      * @ORM\Column(name="fZoom", type="smallint", length=3, options={"default":NULL}, nullable=true)
  188.      */
  189.     private $fZoom;
  190.     /**
  191.      * @var string
  192.      *
  193.      * @ORM\Column(name="fService", type="text", length=16777215, nullable=true, options={"default":NULL,"comment"="подключенные услуги"})
  194.      */
  195.     private $fService;
  196.     /**
  197.      * @ORM\Column(name="pageWeight", type="integer", nullable=true, options={"comment"="Приоритет для посадочных страниц"})
  198.      */
  199.     private $weight;
  200.     /**
  201.      */
  202.     private $seoData;
  203.     /**
  204.      */
  205.     private $guideSeoData;
  206.     /**
  207.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CountryPopular", mappedBy="country")
  208.      */
  209.     private $populars;
  210.     /**
  211.      * @var int|null
  212.      *
  213.      * @ORM\Column(name="searchWeight", type="smallint", nullable=true, options={"unsigned"=true,"comment"="Вес для поиска"})
  214.      */
  215.     private $searchWeight;
  216.     /**
  217.      * @var string|null
  218.      *
  219.      * @ORM\Column(name="fServiceTab", type="text", length=16777215, nullable=true, options={"comment"="Закладки на картинке отеля"})
  220.      */
  221.     private $fservicetab;
  222.     /**
  223.      * @var string|null
  224.      *
  225.      * @ORM\Column(name="fServiceIcon", type="text", length=16777215, nullable=true, options={"comment"="Иконки отеля"})
  226.      */
  227.     private $fserviceicon;
  228.     /**
  229.      * @var string|null
  230.      *
  231.      * @ORM\Column(type="decimal", precision=5, scale=2, nullable=true, options={"unsigned"=true,"comment"="Ценовой сегмент"})
  232.      */
  233.     private $priceSegment;
  234.     /**
  235.      * @var int|null
  236.      *
  237.      * @ORM\Column(type="string", length=6, nullable=false, options={"comment"="Время полета в минутах"})
  238.      */
  239.     private $flightTime;
  240.     /**
  241.      * @ORM\Column(type="string", length=6, nullable=false, options={"comment"="Местное время, GMT"})
  242.      */
  243.     private $timeLocal;
  244.     /**
  245.      * @ORM\Column(type="string", length=28, nullable=true, options={"comment"="Часовой пояс"})
  246.      */
  247.     private $timeZone;
  248.     /**
  249.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Язык"})
  250.      */
  251.     private $language;
  252.     /**
  253.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Мова"})
  254.      */
  255.     private $language_ukr;
  256.     /**
  257.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Валюта, text"})
  258.      */
  259.     private $currencyName;
  260.     /**
  261.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Валюта, text"})
  262.      */
  263.     private $currencyName_ukr;
  264.     /**
  265.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Стоимость кофе"})
  266.      */
  267.     private $coffeeCost;
  268.     /**
  269.      * @ORM\Column(type="string", length=64, nullable=false, options={"comment"="Стоимость еды"})
  270.      */
  271.     private $foodCost;
  272.     /**
  273.      * @var string|null
  274.      *
  275.      * @ORM\Column(name="seasonalityMonths", type="string", length=255, nullable=false, options={"comment"="Сезонность по месяцам"})
  276.      */
  277.     private $seasonalitymonths;
  278.     /**
  279.      * @var float|null
  280.      *
  281.      * @ORM\Column(name="attendance", type="string", length=64, nullable=false, options={"comment"="Посещаемость"})
  282.      */
  283.     private $attendance;
  284.     /**
  285.      * @ORM\Column(type="integer", nullable=true, options={"unsigned"=true,"comment"="связь с images.id=this.image AND objectIdobjectId=rec_id AND objectType=country"})
  286.      */
  287.     private $image;
  288.     private $price null;
  289.     private $priceUah null;
  290.     /**
  291.      * @var Collection|GeoCategoryValues[]
  292.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\GeoCategoryValues", mappedBy="country", cascade={"persist"}, orphanRemoval=true)
  293.      */
  294.     private $countryCategoryValues;
  295.     /**
  296.      * @ORM\Column(type="string", length=64, nullable=false)
  297.      */
  298.     private $visaforcountrycard;
  299.     /**
  300.      * @ORM\Column(type="string", length=64, nullable=false)
  301.      */
  302.     private $attendance_ukr;
  303.     /**
  304.      * @ORM\Column(type="string", length=64, nullable=false)
  305.      */
  306.     private $visaforcountrycard_ukr;
  307.     /**
  308.      * @ORM\OneToMany(targetEntity=GeoBlock::class, mappedBy="country", cascade={"persist"}, orphanRemoval=true)
  309.      */
  310.     private $geoBlocks;
  311.     /**
  312.      * @ORM\Column(type="string", length=128)
  313.      */
  314.     private $fNameBy;
  315.     /**
  316.      * @ORM\Column(type="string", length=128)
  317.      */
  318.     private $fNameEe;
  319.     /**
  320.      * @ORM\Column(type="string", length=128)
  321.      */
  322.     private $fNameLt;
  323.     /**
  324.      * @ORM\Column(type="string", length=128)
  325.      */
  326.     private $fNameLv;
  327.     /**
  328.      * @ORM\Column(type="string", length=128)
  329.      */
  330.     private $fNamePl;
  331.     /**
  332.      * @ORM\Column(type="string", length=128)
  333.      */
  334.     private $fNameUz;
  335.     /**
  336.      * @ORM\Column(type="string", length=128)
  337.      */
  338.     private $fNameRo;
  339.     /**
  340.      * @ORM\Column(type="string", length=128)
  341.      */
  342.     private $fNameByRd;
  343.     /**
  344.      * @ORM\Column(type="string", length=128)
  345.      */
  346.     private $fNameEeRd;
  347.     /**
  348.      * @ORM\Column(type="string", length=128)
  349.      */
  350.     private $fNameLtRd;
  351.     /**
  352.      * @ORM\Column(type="string", length=128)
  353.      */
  354.     private $fNameLvRd;
  355.     /**
  356.      * @ORM\Column(type="string", length=128)
  357.      */
  358.     private $fNamePlRd;
  359.     /**
  360.      * @ORM\Column(type="string", length=128)
  361.      */
  362.     private $fNameUzRd;
  363.     /**
  364.      * @ORM\Column(type="string", length=128)
  365.      */
  366.     private $fNameRoRd;
  367.     /**
  368.      * @ORM\Column(type="string", length=128)
  369.      */
  370.     private $fNameByVn;
  371.     /**
  372.      * @ORM\Column(type="string", length=128)
  373.      */
  374.     private $fNameEeVn;
  375.     /**
  376.      * @ORM\Column(type="string", length=128)
  377.      */
  378.     private $fNameLtVn;
  379.     /**
  380.      * @ORM\Column(type="string", length=128)
  381.      */
  382.     private $fNameLvVn;
  383.     /**
  384.      * @ORM\Column(type="string", length=128)
  385.      */
  386.     private $fNamePlVn;
  387.     /**
  388.      * @ORM\Column(type="string", length=128)
  389.      */
  390.     private $fNameUzVn;
  391.     /**
  392.      * @ORM\Column(type="string", length=128)
  393.      */
  394.     private $fNameRoVn;
  395.     /**
  396.      * @ORM\Column(type="string", length=128)
  397.      */
  398.     private $fNameByPr;
  399.     /**
  400.      * @ORM\Column(type="string", length=128)
  401.      */
  402.     private $fNameEePr;
  403.     /**
  404.      * @ORM\Column(type="string", length=128)
  405.      */
  406.     private $fNameLtPr;
  407.     /**
  408.      * @ORM\Column(type="string", length=128)
  409.      */
  410.     private $fNameLvPr;
  411.     /**
  412.      * @ORM\Column(type="string", length=128)
  413.      */
  414.     private $fNamePlPr;
  415.     /**
  416.      * @ORM\Column(type="string", length=128)
  417.      */
  418.     private $fNameUzPr;
  419.     /**
  420.      * @ORM\Column(type="string", length=128)
  421.      */
  422.     private $fNameRoPr;
  423.     /**
  424.      * @ORM\Column(type="string", length=128)
  425.      */
  426.     private $fNameByDt;
  427.     /**
  428.      * @ORM\Column(type="string", length=128)
  429.      */
  430.     private $fNameEeDt;
  431.     /**
  432.      * @ORM\Column(type="string", length=128)
  433.      */
  434.     private $fNameLtDt;
  435.     /**
  436.      * @ORM\Column(type="string", length=128)
  437.      */
  438.     private $fNameLvDt;
  439.     /**
  440.      * @ORM\Column(type="string", length=128)
  441.      */
  442.     private $fNamePlDt;
  443.     /**
  444.      * @ORM\Column(type="string", length=128)
  445.      */
  446.     private $fNameUzDt;
  447.     /**
  448.      * @ORM\Column(type="string", length=128)
  449.      */
  450.     private $fNameRoDt;
  451.     /**
  452.      * @ORM\Column(name="fNameEng", type="string", length=64)
  453.      */
  454.     private $nameEng;
  455.     /**
  456.      * @ORM\Column(type="string", length=64, nullable=false)
  457.      */
  458.     private $attendance_by;
  459.     /**
  460.      * @ORM\Column(type="string", length=64, nullable=false)
  461.      */
  462.     private $language_by;
  463.     /**
  464.      * @ORM\Column(type="string", length=64, nullable=false)
  465.      */
  466.     private $currencyName_by;
  467.     /**
  468.      * @ORM\Column(type="string", length=64, nullable=false)
  469.      */
  470.     private $visaforcountrycard_by;
  471.     /**
  472.      * @ORM\Column(type="string", length=64, nullable=false)
  473.      */
  474.     private $attendance_ee;
  475.     /**
  476.      * @ORM\Column(type="string", length=64, nullable=false)
  477.      */
  478.     private $language_ee;
  479.     /**
  480.      * @ORM\Column(type="string", length=64, nullable=false)
  481.      */
  482.     private $currencyName_ee;
  483.     /**
  484.      * @ORM\Column(type="string", length=64, nullable=false)
  485.      */
  486.     private $visaforcountrycard_ee;
  487.     /**
  488.      * @ORM\Column(type="string", length=64, nullable=false)
  489.      */
  490.     private $attendance_lt;
  491.     /**
  492.      * @ORM\Column(type="string", length=64, nullable=false)
  493.      */
  494.     private $language_lt;
  495.     /**
  496.      * @ORM\Column(type="string", length=64, nullable=false)
  497.      */
  498.     private $currencyName_lt;
  499.     /**
  500.      * @ORM\Column(type="string", length=64, nullable=false)
  501.      */
  502.     private $visaforcountrycard_lt;
  503.     /**
  504.      * @ORM\Column(type="string", length=64, nullable=false)
  505.      */
  506.     private $attendance_lv;
  507.     /**
  508.      * @ORM\Column(type="string", length=64, nullable=false)
  509.      */
  510.     private $language_lv;
  511.     /**
  512.      * @ORM\Column(type="string", length=64, nullable=false)
  513.      */
  514.     private $currencyName_lv;
  515.     /**
  516.      * @ORM\Column(type="string", length=64, nullable=false)
  517.      */
  518.     private $visaforcountrycard_lv;
  519.     /**
  520.      * @ORM\Column(type="string", length=64, nullable=false)
  521.      */
  522.     private $attendance_pl;
  523.     /**
  524.      * @ORM\Column(type="string", length=64, nullable=false)
  525.      */
  526.     private $language_pl;
  527.     /**
  528.      * @ORM\Column(type="string", length=64, nullable=false)
  529.      */
  530.     private $currencyName_pl;
  531.     /**
  532.      * @ORM\Column(type="string", length=64, nullable=false)
  533.      */
  534.     private $visaforcountrycard_pl;
  535.     /**
  536.      * @ORM\Column(type="string", length=64, nullable=false)
  537.      */
  538.     private $attendance_uz;
  539.     /**
  540.      * @ORM\Column(type="string", length=64, nullable=false)
  541.      */
  542.     private $language_uz;
  543.     /**
  544.      * @ORM\Column(type="string", length=64, nullable=false)
  545.      */
  546.     private $currencyName_uz;
  547.     /**
  548.      * @ORM\Column(type="string", length=64, nullable=false)
  549.      */
  550.     private $visaforcountrycard_uz;
  551.     /**
  552.      * @ORM\Column(type="string", length=64, nullable=false)
  553.      */
  554.     private $attendance_ro;
  555.     /**
  556.      * @ORM\Column(type="string", length=64, nullable=false)
  557.      */
  558.     private $language_ro;
  559.     /**
  560.      * @ORM\Column(type="string", length=64, nullable=false)
  561.      */
  562.     private $currencyName_ro;
  563.     /**
  564.      * @ORM\Column(type="string", length=64, nullable=false)
  565.      */
  566.     private $visaforcountrycard_ro;
  567.     /**
  568.      * @ORM\Column(type="string", length=128)
  569.      */
  570.     private $fNameKk;
  571.     /**
  572.      * @ORM\Column(type="string", length=128)
  573.      */
  574.     private $fNameKkRd;
  575.     /**
  576.      * @ORM\Column(type="string", length=128)
  577.      */
  578.     private $fNameKkVn;
  579.     /**
  580.      * @ORM\Column(type="string", length=128)
  581.      */
  582.     private $fNameKkPr;
  583.     /**
  584.      * @ORM\Column(type="string", length=128)
  585.      */
  586.     private $fNameKkDt;
  587.     /**
  588.      * @ORM\Column(type="string", length=64)
  589.      */
  590.     private $attendance_kk;
  591.     /**
  592.      * @ORM\Column(type="string", length=64)
  593.      */
  594.     private $visaforcountrycard_kk;
  595.     /**
  596.      * @ORM\Column(type="string", length=64)
  597.      */
  598.     private $language_kk;
  599.     /**
  600.      * @ORM\Column(type="string", length=64)
  601.      */
  602.     private $currencyName_kk;
  603.     /**
  604.      * @var Collection|CountryCharacteristic[]
  605.      * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\CountryCharacteristic", mappedBy="country", cascade={"persist"}, orphanRemoval=true)
  606.      */
  607.     private $countryCharacteristics;
  608.     public function __construct()
  609.     {
  610.         $this->rubrics = new ArrayCollection();
  611.         $this->cities = new ArrayCollection();
  612.         $this->populars = new ArrayCollection();
  613.         $this->countryCategoryValues = new ArrayCollection();
  614. //        $this->faqText = new ArrayCollection();
  615.         $this->geoBlocks = new ArrayCollection();
  616.         $this->similarCountries = new ArrayCollection();
  617.         $this->similarCountriesIn = new ArrayCollection();
  618.         $this->countryCharacteristics = new ArrayCollection();
  619.     }
  620.     public function __toString()
  621.     {
  622.         return $this->getCountry();
  623.     }
  624.     public function getRecId(): int
  625.     {
  626.         return $this->getId();
  627.     }
  628.     /**
  629.      * @return Collection|GeoCategoryValues[]
  630.      */
  631.     public function getCountryCategoryValues(): Collection
  632.     {
  633.         return $this->countryCategoryValues;
  634.     }
  635.     public function addCountry(GeoCategoryValues $value): self
  636.     {
  637.         if (!$this->countryCategoryValues->contains($value)) {
  638.             $this->countryCategoryValues[] = $value;
  639.             $value->setCountry($this);
  640.         }
  641.         return $this;
  642.     }
  643.     public function removeCountry(GeoCategoryValues $value): self
  644.     {
  645.         if ($this->countryCategoryValues->contains($value)) {
  646.             $this->countryCategoryValues->removeElement($value);
  647.             if ($value->getCountry() === $this) {
  648.                 $value->setCountry(null);
  649.             }
  650.         }
  651.         return $this;
  652.     }
  653.     /**
  654.      * @return Collection
  655.      */
  656.     public function getCities(): Collection
  657.     {
  658.         return $this->cities;
  659.     }
  660.     /**
  661.      * @param Collection $cities
  662.      */
  663.     public function setCities(Collection $cities): void
  664.     {
  665.         $this->cities $cities;
  666.     }
  667.     /**
  668.      * @return string
  669.      */
  670.     public function getCode(): string
  671.     {
  672.         return $this->fCode;
  673.     }
  674.     /**
  675.      * @param string $fCode
  676.      */
  677.     public function setCode(string $fCode): void
  678.     {
  679.         $this->fCode $fCode;
  680.     }
  681.     /**
  682.      * @return string
  683.      */
  684.     public function getIATA(): string
  685.     {
  686.         return $this->fIATA;
  687.     }
  688.     /**
  689.      * @param string $fIATA
  690.      */
  691.     public function setIATA(string $fIATA): void
  692.     {
  693.         $this->fIATA $fIATA;
  694.     }
  695.     /**
  696.      * @return string
  697.      */
  698.     public function getCountry(): string
  699.     {
  700.         return $this->fCountry;
  701.     }
  702.     /**
  703.      * @param string $fCountry
  704.      */
  705.     public function setCountry(string $fCountry): void
  706.     {
  707.         $this->fCountry $fCountry;
  708.     }
  709.     /**
  710.      * @return string
  711.      */
  712.     public function getName(): string
  713.     {
  714.         return $this->getCountry();
  715.     }
  716.     /**
  717.      * @return string
  718.      */
  719.     public function getNameRu(): string
  720.     {
  721.         return $this->getCountry();
  722.     }
  723.     /**
  724.      * @return string
  725.      */
  726.     public function getNameAlt(): string
  727.     {
  728.         return $this->fNameAlt;
  729.     }
  730.     /**
  731.      * @param string $fNameAlt
  732.      */
  733.     public function setNameAlt(string $fNameAlt): void
  734.     {
  735.         $this->fNameAlt $fNameAlt;
  736.     }
  737.     /**
  738.      * @return string
  739.      */
  740.     public function getNameRd(): string
  741.     {
  742.         return $this->fNameRd;
  743.     }
  744.     /**
  745.      * @param string $fNameRd
  746.      */
  747.     public function setNameRd(string $fNameRd): void
  748.     {
  749.         $this->fNameRd $fNameRd;
  750.     }
  751.     /**
  752.      * @return string
  753.      */
  754.     public function getNameVn(): string
  755.     {
  756.         return $this->fNameVn;
  757.     }
  758.     /**
  759.      * @param string $fNameVn
  760.      */
  761.     public function setNameVn(string $fNameVn): void
  762.     {
  763.         $this->fNameVn $fNameVn;
  764.     }
  765.     /**
  766.      * @return string
  767.      */
  768.     public function getNamePr(): string
  769.     {
  770.         return $this->fNamePr;
  771.     }
  772.     /**
  773.      * @param string $fNamePr
  774.      */
  775.     public function setNamePr(string $fNamePr): void
  776.     {
  777.         $this->fNamePr $fNamePr;
  778.     }
  779.     /**
  780.      * @return string
  781.      */
  782.     public function getNameDt(): string
  783.     {
  784.         return $this->fNameDt;
  785.     }
  786.     /**
  787.      * @param string $fNameDt
  788.      */
  789.     public function setNameDt(string $fNameDt): void
  790.     {
  791.         $this->fNameDt $fNameDt;
  792.     }
  793.     /**
  794.      * @return string
  795.      */
  796.     public function getNameUkr(): string
  797.     {
  798.         return $this->fNameUkr;
  799.     }
  800.     /**
  801.      * @return string
  802.      */
  803.     public function getNameUa(): string
  804.     {
  805.         return $this->fNameUkr;
  806.     }
  807.     /**
  808.      * @param string $fNameUkr
  809.      */
  810.     public function setNameUkr(string $fNameUkr): void
  811.     {
  812.         $this->fNameUkr $fNameUkr;
  813.     }
  814.     /**
  815.      * @return string
  816.      */
  817.     public function getNameUkrRd(): string
  818.     {
  819.         return $this->fNameUkrRd;
  820.     }
  821.     /**
  822.      * @param string $fNameUkrRd
  823.      */
  824.     public function setNameUkrRd(string $fNameUkrRd): void
  825.     {
  826.         $this->fNameUkrRd $fNameUkrRd;
  827.     }
  828.     /**
  829.      * @return string
  830.      */
  831.     public function getNameUkrVn(): string
  832.     {
  833.         return $this->fNameUkrVn;
  834.     }
  835.     /**
  836.      * @param string $fNameUkrVn
  837.      */
  838.     public function setNameUkrVn(string $fNameUkrVn): void
  839.     {
  840.         $this->fNameUkrVn $fNameUkrVn;
  841.     }
  842.     /**
  843.      * @return string
  844.      */
  845.     public function getNameUkrPr(): string
  846.     {
  847.         return $this->fNameUkrPr;
  848.     }
  849.     /**
  850.      * @param string $fNameUkrPr
  851.      */
  852.     public function setNameUkrPr(string $fNameUkrPr): void
  853.     {
  854.         $this->fNameUkrPr $fNameUkrPr;
  855.     }
  856.     /**
  857.      * @return string
  858.      */
  859.     public function getNameUkrDt(): string
  860.     {
  861.         return $this->fNameUkrDt;
  862.     }
  863.     /**
  864.      * @param string $fNameUkrDt
  865.      */
  866.     public function setNameUkrDt(string $fNameUkrDt): void
  867.     {
  868.         $this->fNameUkrDt $fNameUkrDt;
  869.     }
  870.     /**
  871.      * @return string
  872.      */
  873.     public function getNameTr(): string
  874.     {
  875.         return str_replace(' ''_'$this->fNameTr);
  876.     }
  877.     /**
  878.      * @param string $fNameTr
  879.      */
  880.     public function setNameTr(string $fNameTr): void
  881.     {
  882.         //$this->fNameTr = str_replace('_', ' ', $fNameTr);
  883.         $this->fNameTr $fNameTr;
  884.     }
  885.     /**
  886.      * @return int
  887.      */
  888.     public function getCapitalID(): int
  889.     {
  890.         return $this->fCapitalID;
  891.     }
  892.     /**
  893.      * @param int $fCapitalID
  894.      */
  895.     public function setCapitalID(int $fCapitalID): void
  896.     {
  897.         $this->fCapitalID $fCapitalID;
  898.     }
  899.     /**
  900.      * @return int
  901.      */
  902.     public function getContinent(): int
  903.     {
  904.         return $this->fContinent;
  905.     }
  906.     /**
  907.      * @param int $fContinent
  908.      */
  909.     public function setContinent(int $fContinent): void
  910.     {
  911.         $this->fContinent $fContinent;
  912.     }
  913.     /**
  914.      * @return string
  915.      */
  916.     public function getTour(): string
  917.     {
  918.         return $this->fTour;
  919.     }
  920.     /**
  921.      * @param string $fTour
  922.      */
  923.     public function setTour(string $fTour): void
  924.     {
  925.         $this->fTour $fTour;
  926.     }
  927.     /**
  928.      * @return string
  929.      */
  930.     public function getTransport(): string
  931.     {
  932.         return $this->fTransport;
  933.     }
  934.     /**
  935.      * @param string $fTransport
  936.      */
  937.     public function setTransport(string $fTransport): void
  938.     {
  939.         $this->fTransport $fTransport;
  940.     }
  941.     /**
  942.      * @return string
  943.      */
  944.     public function getCurrency(): string
  945.     {
  946.         return $this->fCurrency;
  947.     }
  948.     /**
  949.      * @param string $fCurrency
  950.      */
  951.     public function setCurrency(string $fCurrency): void
  952.     {
  953.         $this->fCurrency $fCurrency;
  954.     }
  955.     /**
  956.      * @return string
  957.      */
  958.     public function getVisa(): string
  959.     {
  960.         return $this->fVisa;
  961.     }
  962.     /**
  963.      * @param string $fVisa
  964.      */
  965.     public function setVisa(string $fVisa): void
  966.     {
  967.         $this->fVisa $fVisa;
  968.     }
  969.     /**
  970.      * @return string
  971.      */
  972.     public function getOnRequest(): string
  973.     {
  974.         return $this->fOnRequest;
  975.     }
  976.     /**
  977.      * @param string $fOnRequest
  978.      */
  979.     public function setOnRequest(string $fOnRequest): void
  980.     {
  981.         $this->fOnRequest $fOnRequest;
  982.     }
  983.     /**
  984.      * @return int
  985.      */
  986.     public function getPriority(): int
  987.     {
  988.         return $this->fPriority;
  989.     }
  990.     /**
  991.      * @param int $fPriority
  992.      */
  993.     public function setPriority(int $fPriority): void
  994.     {
  995.         $this->fPriority $fPriority;
  996.     }
  997.     /**
  998.      * @return float
  999.      */
  1000.     public function getSouthWest(): float
  1001.     {
  1002.         return $this->fSouthWest;
  1003.     }
  1004.     /**
  1005.      * @param float $fSouthWest
  1006.      */
  1007.     public function setSouthWest(float $fSouthWest): void
  1008.     {
  1009.         $this->fSouthWest $fSouthWest;
  1010.     }
  1011.     /**
  1012.      * @return float
  1013.      */
  1014.     public function getNorthEast(): float
  1015.     {
  1016.         return $this->fNorthEast;
  1017.     }
  1018.     /**
  1019.      * @param float $fNorthEast
  1020.      */
  1021.     public function setNorthEast(float $fNorthEast): void
  1022.     {
  1023.         $this->fNorthEast $fNorthEast;
  1024.     }
  1025.     /**
  1026.      * @return int
  1027.      */
  1028.     public function getZoom(): int
  1029.     {
  1030.         return $this->fZoom;
  1031.     }
  1032.     /**
  1033.      * @param int $fZoom
  1034.      */
  1035.     public function setZoom(int $fZoom): void
  1036.     {
  1037.         $this->fZoom $fZoom;
  1038.     }
  1039.     /**
  1040.      * @return string
  1041.      */
  1042.     public function getService(): string
  1043.     {
  1044.         return $this->fService;
  1045.     }
  1046.     /**
  1047.      * @param string $fService
  1048.      */
  1049.     public function setService(string $fService): void
  1050.     {
  1051.         $this->fService $fService;
  1052.     }
  1053.     /**
  1054.      * for api serializer purposes
  1055.      * @return string
  1056.      */
  1057.     public function getNameTrInLowerCase(){
  1058.         return strtolower($this->getNameTr());
  1059.     }
  1060.     public function filterCitiesByIds(array $ids)
  1061.     {
  1062.         $criteria Criteria::create();
  1063.         $criteria->where($criteria::expr()->in('rec_id'$ids))
  1064.         ->orderBy(['fName' => 'asc']);
  1065.         $this->cities = ($this->cities->matching($criteria));
  1066.     }
  1067.     public function getWeight(): ?int
  1068.     {
  1069.         return $this->weight;
  1070.     }
  1071.     public function setWeight(?int $weight): self
  1072.     {
  1073.         $this->weight $weight;
  1074.         return $this;
  1075.     }
  1076.     /**
  1077.      * @return array
  1078.      */
  1079.     public function getSeoData(): array
  1080.     {
  1081.         $value Yaml::parseFile('../seofile.yaml');
  1082.         $value $value['seo']['excursions']['country'];
  1083.         return array(
  1084.             'title' => sprintf($value['title'], $this->getNameVn(), date('Y')),
  1085.             'description' => sprintf($value['description'], $this->getNameVn(), date('Y')),
  1086.             'keywords' => sprintf($value['keywords'], $this->getNameVn())
  1087.         );
  1088.     }
  1089.     /**
  1090.      * @return array
  1091.      */
  1092.     public function getGuideSeoData($locale 'ru')
  1093.     {
  1094.         $value Yaml::parseFile('../seofile.'.$locale.'.yaml');
  1095.         $value $value['seo']['tours']['guide'];
  1096.         return ($locale == 'ua') ? array(
  1097.             'title' => sprintf($value['title'], $this->getNameUkr(), $this->getNameUkrPr()),
  1098.             'description' => sprintf($value['description'], $this->getNameUkrPr(), $this->getNameUkrRd()),
  1099.             'keywords' => sprintf($value['keywords'], $this->getNameUkr(), $this->getNameUkrRd(), $this->getNameUkrPr(), $this->getNameUkrRd()),
  1100.             'h1' => sprintf($value['h1'], $this->getNameUkr())
  1101.         ) : array(
  1102.             'title' => sprintf($value['title'], $this->getCountry(), $this->getNamePr()),
  1103.             'description' => sprintf($value['description'], $this->getNamePr(), $this->getNameRd()),
  1104.             'keywords' => sprintf($value['keywords'], $this->getCountry(), $this->getNameRd(), $this->getNamePr(), $this->getNameRd()),
  1105.             'h1' => sprintf($value['h1'], $this->getCountry())
  1106.         );
  1107.     }
  1108.     /**
  1109.      * @return Collection|CountryPopular[]
  1110.      */
  1111.     public function getPopulars(): Collection
  1112.     {
  1113.         return $this->populars;
  1114.     }
  1115.     public function addPopular(CountryPopular $popular): self
  1116.     {
  1117.         if (!$this->populars->contains($popular)) {
  1118.             $this->populars[] = $popular;
  1119.             $popular->setCountry($this);
  1120.         }
  1121.         return $this;
  1122.     }
  1123.     public function removePopular(CountryPopular $popular): self
  1124.     {
  1125.         if ($this->populars->contains($popular)) {
  1126.             $this->populars->removeElement($popular);
  1127.             // set the owning side to null (unless already changed)
  1128.             if ($popular->getCountry() === $this) {
  1129.                 $popular->setCountry(null);
  1130.             }
  1131.         }
  1132.         return $this;
  1133.     }
  1134.     public function getImage(): ?int
  1135.     {
  1136.         return $this->image;
  1137.     }
  1138.     public function setImage(?int $image): self
  1139.     {
  1140.         $this->image $image;
  1141.         return $this;
  1142.     }
  1143.     function getImagePath()
  1144.     {
  1145.         if (!is_null($this->image)) {
  1146.             return $this->imageSource.sprintf(
  1147.                     '%02d/%02d/%02d/%02d/',
  1148.                     ($this->image 100000000) % 100, ($this->image 1000000) % 100, ($this->image 10000) % 100, ($this->image 100) % 100
  1149.                 ) . $this->image '.webp';
  1150.         }
  1151.         return null;
  1152.     }
  1153. //    /**
  1154. //     * @ORM\OneToMany(targetEntity="App\Entity\Otpusk\TRefsCountry", mappedBy="country", cascade={"persist"})
  1155. //     * @ORM\JoinColumn(name="rec_id", referencedColumnName="fBindId")
  1156. //     */
  1157. //    private $faqText;
  1158. //
  1159. //    public function getFaqText(): Collection
  1160. //    {
  1161. //        $criteria = Criteria::create();
  1162. //        $criteria->where($criteria::expr()->eq('type', 97))
  1163. //            ->orderBy(array('fSort' => 'DESC'));
  1164. //
  1165. //        $this->faqText = $this->faqText->matching($criteria);
  1166. //        return $this->faqText;
  1167. //    }
  1168. //
  1169. //    public function addFaqText($faqText): self
  1170. //    {
  1171. //        $faqText->setType(97);
  1172. //        if (!$this->faqText->contains($faqText)) {
  1173. //            $this->faqText[] = $faqText;
  1174. //            $faqText->addCountry($this);
  1175. //        }
  1176. //
  1177. //        return $this;
  1178. //    }
  1179. //
  1180. //    public function setFaqText($faqText)
  1181. //    {
  1182. //        if (gettype($faqText) == "array") {
  1183. //            $faqText = new ArrayCollection($faqText);
  1184. //        }
  1185. //
  1186. //        foreach($faqText as $text) {
  1187. //            $text->addCountry($this);
  1188. //        }
  1189. //
  1190. //        $this->faqText = $faqText;
  1191. //        return $this;
  1192. //    }
  1193. //
  1194. //    public function removeFaqText(TRefsCountry $faqText): self
  1195. //    {
  1196. //        if ($this->faqText->contains($faqText)) {
  1197. //            $this->faqText->removeElement($faqText);
  1198. //            $faqText->removeCountry($this);
  1199. //        }
  1200. //
  1201. //        return $this;
  1202. //    }
  1203.     public function getPriceSegment(): ?string
  1204.     {
  1205.         return (!is_null($this->priceSegment)) ? (int)$this->priceSegment null;
  1206.     }
  1207.     public function getFlightTime(): ?string
  1208.     {
  1209.         return $this->flightTime;
  1210.     }
  1211.     public function getTimeLocal(): ?string
  1212.     {
  1213.         return $this->timeLocal;
  1214.     }
  1215.     public function getLanguage(): ?string
  1216.     {
  1217.         return $this->language;
  1218.     }
  1219.     public function getLanguageUkr(): ?string
  1220.     {
  1221.         return $this->language_ukr;
  1222.     }
  1223.     public function getCurrencyName(): ?string
  1224.     {
  1225.         return $this->currencyName;
  1226.     }
  1227.     public function getCurrencyNameUkr(): ?string
  1228.     {
  1229.         return $this->currencyName_ukr;
  1230.     }
  1231.     public function getCoffeeCost(): ?string
  1232.     {
  1233.         return $this->coffeeCost;
  1234.     }
  1235.     public function getFoodCost(): ?string
  1236.     {
  1237.         return $this->foodCost;
  1238.     }
  1239.     /**
  1240.      * @return string|null
  1241.      */
  1242.     public function getSeasonalitymonthsFormatted(): ?array
  1243.     {
  1244.         if (!is_null($this->seasonalitymonths)) {
  1245.             $results = [];
  1246.             for ($i=1$i<=12$i++) {
  1247.                 $results[$i]['key'] = "one";
  1248.                 $results[$i]['status'] = "";
  1249.             }
  1250.             $seasonalityMonths \json_decode($this->seasonalitymonths1);
  1251.             if (!is_null($seasonalityMonths)) {
  1252.                 foreach ($seasonalityMonths as $key => $seasonalityMonth) {
  1253.                     if ($seasonalityMonth == "0.33") {
  1254.                         $results[(int)$key]['key'] = "one";
  1255.                         $results[(int)$key]['status'] = "";
  1256.                     }
  1257.                     if ($seasonalityMonth == "0.66") {
  1258.                         $results[(int)$key]['key'] = "two";
  1259.                         $results[(int)$key]['status'] = "active";
  1260.                     }
  1261.                     if ($seasonalityMonth == "1") {
  1262.                         $results[(int)$key]['key'] = "three";
  1263.                         $results[(int)$key]['status'] = "active";
  1264.                     }
  1265.                 }
  1266.             }
  1267.             return $results;
  1268.         }
  1269.         return null;
  1270.     }
  1271.     /**
  1272.      * @return string|null
  1273.      */
  1274.     public function getAttendance(): ?string
  1275.     {
  1276.         return $this->attendance;
  1277.     }
  1278.     public function getAttendanceRu(): ?string
  1279.     {
  1280.         return $this->attendance;
  1281.     }
  1282.     public function getPrice()
  1283.     {
  1284.         return $this->price;
  1285.     }
  1286.     public function setPrice($price): void
  1287.     {
  1288.         $this->price $price;
  1289.     }
  1290.     public function getPriceUah()
  1291.     {
  1292.         return $this->priceUah;
  1293.     }
  1294.     public function setPriceUah($priceUah): void
  1295.     {
  1296.         $this->priceUah $priceUah;
  1297.     }
  1298.     public function getVisaforcountrycard(): ?string
  1299.     {
  1300.         return $this->visaforcountrycard;
  1301.     }
  1302.     public function setVisaforcountrycard(?string $visaforcountrycard): self
  1303.     {
  1304.         $this->visaforcountrycard $visaforcountrycard;
  1305.         return $this;
  1306.     }
  1307.     public function getVisaforcountrycardRu(): ?string
  1308.     {
  1309.         return $this->visaforcountrycard;
  1310.     }
  1311.     public function getAttendanceUkr(): ?string
  1312.     {
  1313.         return $this->attendance_ukr;
  1314.     }
  1315.     public function getAttendanceUa(): ?string
  1316.     {
  1317.         return $this->attendance_ukr;
  1318.     }
  1319.     public function setAttendanceUkr(?string $attendance_ukr): self
  1320.     {
  1321.         $this->attendance_ukr $attendance_ukr;
  1322.         return $this;
  1323.     }
  1324.     public function getVisaforcountrycardUkr(): ?string
  1325.     {
  1326.         return $this->visaforcountrycard_ukr;
  1327.     }
  1328.     public function setVisaforcountrycardUkr(?string $visaforcountrycard_ukr): self
  1329.     {
  1330.         $this->visaforcountrycard_ukr $visaforcountrycard_ukr;
  1331.         return $this;
  1332.     }
  1333.     public function getVisaforcountrycardUa(): ?string
  1334.     {
  1335.         return $this->visaforcountrycard_ukr;
  1336.     }
  1337.     /**
  1338.      * @return Collection|GeoBlock[]
  1339.      */
  1340.     public function getGeoBlocks(): Collection
  1341.     {
  1342.         return $this->geoBlocks;
  1343.     }
  1344.     public function addGeoBlock(GeoBlock $geoBlock): self
  1345.     {
  1346.         if (!$this->geoBlocks->contains($geoBlock)) {
  1347.             $this->geoBlocks[] = $geoBlock;
  1348.             $geoBlock->setCountry($this);
  1349.         }
  1350.         return $this;
  1351.     }
  1352.     public function removeGeoBlock(GeoBlock $geoBlock): self
  1353.     {
  1354.         if ($this->geoBlocks->removeElement($geoBlock)) {
  1355.             // set the owning side to null (unless already changed)
  1356.             if ($geoBlock->getCountry() === $this) {
  1357.                 $geoBlock->setCountry(null);
  1358.             }
  1359.         }
  1360.         return $this;
  1361.     }
  1362.     /**
  1363.      * @return Collection|RubricCountry[]
  1364.      */
  1365.     public function getRubrics(): Collection
  1366.     {
  1367.         return $this->rubrics;
  1368.     }
  1369.     public function addRubric(RubricCountry $rubric): self
  1370.     {
  1371.         if (!$this->rubrics->contains($rubric)) {
  1372.             $this->rubrics[] = $rubric;
  1373.             $rubric->setCountry($this);
  1374.         }
  1375.         return $this;
  1376.     }
  1377.     public function removeRubric(RubricCountry $rubric): self
  1378.     {
  1379.         if ($this->rubrics->contains($rubric)) {
  1380.             $this->rubrics->removeElement($rubric);
  1381.             if ($rubric->getCountry() === $this) {
  1382.                 $rubric->setCountry(null);
  1383.             }
  1384.         }
  1385.         return $this;
  1386.     }
  1387.     public function getTypeLabel(): string
  1388.     {
  1389.         return self::LABEL_COUNTRY;
  1390.     }
  1391.     /**
  1392.      * @return Collection|CountriesSimilar[]
  1393.      */
  1394.     public function getSimilarCountries(): Collection
  1395.     {
  1396.         return $this->similarCountries;
  1397.     }
  1398.     public function addSimilarCountry(CountriesSimilar $similarCountries): self
  1399.     {
  1400.         if (!$this->similarCountries->contains($similarCountries)) {
  1401.             $this->similarCountries[] = $similarCountries;
  1402.             $similarCountries->setCountrySimilar($this);
  1403.         }
  1404.         return $this;
  1405.     }
  1406.     public function removeSimilarCountry(CountriesSimilar $similarCountries): self
  1407.     {
  1408.         if ($this->similarCountries->contains($similarCountries)) {
  1409.             $this->similarCountries->removeElement($similarCountries);
  1410.             if ($similarCountries->getCountrySimilar() === $this) {
  1411.                 $similarCountries->setCountrySimilar(null);
  1412.             }
  1413.         }
  1414.         return $this;
  1415.     }
  1416.     /**
  1417.      * @return Collection|CountriesSimilar[]
  1418.      */
  1419.     public function getSimilarCountriesIn(): Collection
  1420.     {
  1421.         return $this->similarCountriesIn;
  1422.     }
  1423.     public function addSimilarCountryIn(CountriesSimilar $similarCountriesIn): self
  1424.     {
  1425.         if (!$this->similarCountriesIn->contains($similarCountriesIn)) {
  1426.             $this->similarCountriesIn[] = $similarCountriesIn;
  1427.             $similarCountriesIn->setCountrySimilarIn($this);
  1428.         }
  1429.         return $this;
  1430.     }
  1431.     public function removeSimilarCountryIn(CountriesSimilar $similarCountriesIn): self
  1432.     {
  1433.         if ($this->similarCountriesIn->contains($similarCountriesIn)) {
  1434.             $this->similarCountriesIn->removeElement($similarCountriesIn);
  1435.             if ($similarCountriesIn->getCountrySimilarIn() === $this) {
  1436.                 $similarCountriesIn->setCountrySimilarIn(null);
  1437.             }
  1438.         }
  1439.         return $this;
  1440.     }
  1441.     public function getNameBy(): ?string
  1442.     {
  1443.         return $this->fNameBy;
  1444.     }
  1445.     public function setNameBy(string $fNameBy): self
  1446.     {
  1447.         $this->fNameBy $fNameBy;
  1448.         return $this;
  1449.     }
  1450.     public function getNameEe(): ?string
  1451.     {
  1452.         return $this->fNameEe;
  1453.     }
  1454.     public function setNameEe(string $fNameEe): self
  1455.     {
  1456.         $this->fNameEe $fNameEe;
  1457.         return $this;
  1458.     }
  1459.     public function getNameLt(): ?string
  1460.     {
  1461.         return $this->fNameLt;
  1462.     }
  1463.     public function setNameLt(string $fNameLt): self
  1464.     {
  1465.         $this->fNameLt $fNameLt;
  1466.         return $this;
  1467.     }
  1468.     public function getNameLv(): ?string
  1469.     {
  1470.         return $this->fNameLv;
  1471.     }
  1472.     public function setNameLv(string $fNameLv): self
  1473.     {
  1474.         $this->fNameLv $fNameLv;
  1475.         return $this;
  1476.     }
  1477.     public function getNamePl(): ?string
  1478.     {
  1479.         return $this->fNamePl;
  1480.     }
  1481.     public function setNamePl(string $fNamePl): self
  1482.     {
  1483.         $this->fNamePl $fNamePl;
  1484.         return $this;
  1485.     }
  1486.     public function getNameUz(): ?string
  1487.     {
  1488.         return $this->fNameUz;
  1489.     }
  1490.     public function setNameUz(string $fNameUz): self
  1491.     {
  1492.         $this->fNameUz $fNameUz;
  1493.         return $this;
  1494.     }
  1495.     public function getNameRo(): ?string
  1496.     {
  1497.         return $this->fNameRo;
  1498.     }
  1499.     public function setNameRo(string $fNameRo): self
  1500.     {
  1501.         $this->fNameRo $fNameRo;
  1502.         return $this;
  1503.     }
  1504.     public function getNameByRd(): ?string
  1505.     {
  1506.         return $this->fNameByRd;
  1507.     }
  1508.     public function setNameByRd(string $fNameByRd): self
  1509.     {
  1510.         $this->fNameByRd $fNameByRd;
  1511.         return $this;
  1512.     }
  1513.     public function getNameEeRd(): ?string
  1514.     {
  1515.         return $this->fNameEeRd;
  1516.     }
  1517.     public function setNameEeRd(string $fNameEeRd): self
  1518.     {
  1519.         $this->fNameEeRd $fNameEeRd;
  1520.         return $this;
  1521.     }
  1522.     public function getNameLtRd(): ?string
  1523.     {
  1524.         return $this->fNameLtRd;
  1525.     }
  1526.     public function setNameLtRd(string $fNameLtRd): self
  1527.     {
  1528.         $this->fNameLtRd $fNameLtRd;
  1529.         return $this;
  1530.     }
  1531.     public function getNameLvRd(): ?string
  1532.     {
  1533.         return $this->fNameLvRd;
  1534.     }
  1535.     public function setNameLvRd(string $fNameLvRd): self
  1536.     {
  1537.         $this->fNameLvRd $fNameLvRd;
  1538.         return $this;
  1539.     }
  1540.     public function getNamePlRd(): ?string
  1541.     {
  1542.         return $this->fNamePlRd;
  1543.     }
  1544.     public function setNamePlRd(string $fNamePlRd): self
  1545.     {
  1546.         $this->fNamePlRd $fNamePlRd;
  1547.         return $this;
  1548.     }
  1549.     public function getNameUzRd(): ?string
  1550.     {
  1551.         return $this->fNameUzRd;
  1552.     }
  1553.     public function setNameUzRd(string $fNameUzRd): self
  1554.     {
  1555.         $this->fNameUzRd $fNameUzRd;
  1556.         return $this;
  1557.     }
  1558.     public function getNameRoRd(): ?string
  1559.     {
  1560.         return $this->fNameRoRd;
  1561.     }
  1562.     public function setNameRoRd(string $fNameRoRd): self
  1563.     {
  1564.         $this->fNameRoRd $fNameRoRd;
  1565.         return $this;
  1566.     }
  1567.     public function getNameByVn(): ?string
  1568.     {
  1569.         return $this->fNameByVn;
  1570.     }
  1571.     public function setNameByVn(string $fNameByVn): self
  1572.     {
  1573.         $this->fNameByVn $fNameByVn;
  1574.         return $this;
  1575.     }
  1576.     public function getNameEeVn(): ?string
  1577.     {
  1578.         return $this->fNameEeVn;
  1579.     }
  1580.     public function setNameEeVn(string $fNameEeVn): self
  1581.     {
  1582.         $this->fNameEeVn $fNameEeVn;
  1583.         return $this;
  1584.     }
  1585.     public function getNameLtVn(): ?string
  1586.     {
  1587.         return $this->fNameLtVn;
  1588.     }
  1589.     public function setNameLtVn(string $fNameLtVn): self
  1590.     {
  1591.         $this->fNameLtVn $fNameLtVn;
  1592.         return $this;
  1593.     }
  1594.     public function getNameLvVn(): ?string
  1595.     {
  1596.         return $this->fNameLvVn;
  1597.     }
  1598.     public function setNameLvVn(string $fNameLvVn): self
  1599.     {
  1600.         $this->fNameLvVn $fNameLvVn;
  1601.         return $this;
  1602.     }
  1603.     public function getNamePlVn(): ?string
  1604.     {
  1605.         return $this->fNamePlVn;
  1606.     }
  1607.     public function setNamePlVn(string $fNamePlVn): self
  1608.     {
  1609.         $this->fNamePlVn $fNamePlVn;
  1610.         return $this;
  1611.     }
  1612.     public function getNameUzVn(): ?string
  1613.     {
  1614.         return $this->fNameUzVn;
  1615.     }
  1616.     public function setNameUzVn(string $fNameUzVn): self
  1617.     {
  1618.         $this->fNameUzVn $fNameUzVn;
  1619.         return $this;
  1620.     }
  1621.     public function getNameRoVn(): ?string
  1622.     {
  1623.         return $this->fNameRoVn;
  1624.     }
  1625.     public function setNameRoVn(string $fNameRoVn): self
  1626.     {
  1627.         $this->fNameRoVn $fNameRoVn;
  1628.         return $this;
  1629.     }
  1630.     public function getNameByPr(): ?string
  1631.     {
  1632.         return $this->fNameByPr;
  1633.     }
  1634.     public function setNameByPr(string $fNameByPr): self
  1635.     {
  1636.         $this->fNameByPr $fNameByPr;
  1637.         return $this;
  1638.     }
  1639.     public function getNameEePr(): ?string
  1640.     {
  1641.         return $this->fNameEePr;
  1642.     }
  1643.     public function setNameEePr(string $fNameEePr): self
  1644.     {
  1645.         $this->fNameEePr $fNameEePr;
  1646.         return $this;
  1647.     }
  1648.     public function getNameLtPr(): ?string
  1649.     {
  1650.         return $this->fNameLtPr;
  1651.     }
  1652.     public function setNameLtPr(string $fNameLtPr): self
  1653.     {
  1654.         $this->fNameLtPr $fNameLtPr;
  1655.         return $this;
  1656.     }
  1657.     public function getNameLvPr(): ?string
  1658.     {
  1659.         return $this->fNameLvPr;
  1660.     }
  1661.     public function setNameLvPr(string $fNameLvPr): self
  1662.     {
  1663.         $this->fNameLvPr $fNameLvPr;
  1664.         return $this;
  1665.     }
  1666.     public function getNamePlPr(): ?string
  1667.     {
  1668.         return $this->fNamePlPr;
  1669.     }
  1670.     public function setNamePlPr(string $fNamePlPr): self
  1671.     {
  1672.         $this->fNamePlPr $fNamePlPr;
  1673.         return $this;
  1674.     }
  1675.     public function getNameUzPr(): ?string
  1676.     {
  1677.         return $this->fNameUzPr;
  1678.     }
  1679.     public function setNameUzPr(string $fNameUzPr): self
  1680.     {
  1681.         $this->fNameUzPr $fNameUzPr;
  1682.         return $this;
  1683.     }
  1684.     public function getNameRoPr(): ?string
  1685.     {
  1686.         return $this->fNameRoPr;
  1687.     }
  1688.     public function setNameRoPr(string $fNameRoPr): self
  1689.     {
  1690.         $this->fNameRoPr $fNameRoPr;
  1691.         return $this;
  1692.     }
  1693.     public function getNameByDt(): ?string
  1694.     {
  1695.         return $this->fNameByDt;
  1696.     }
  1697.     public function setNameByDt(string $fNameByDt): self
  1698.     {
  1699.         $this->fNameByDt $fNameByDt;
  1700.         return $this;
  1701.     }
  1702.     public function getNameEeDt(): ?string
  1703.     {
  1704.         return $this->fNameEeDt;
  1705.     }
  1706.     public function setNameEeDt(string $fNameEeDt): self
  1707.     {
  1708.         $this->fNameEeDt $fNameEeDt;
  1709.         return $this;
  1710.     }
  1711.     public function getNameLtDt(): ?string
  1712.     {
  1713.         return $this->fNameLtDt;
  1714.     }
  1715.     public function setNameLtDt(string $fNameLtDt): self
  1716.     {
  1717.         $this->fNameLtDt $fNameLtDt;
  1718.         return $this;
  1719.     }
  1720.     public function getNameLvDt(): ?string
  1721.     {
  1722.         return $this->fNameLvDt;
  1723.     }
  1724.     public function setNameLvDt(string $fNameLvDt): self
  1725.     {
  1726.         $this->fNameLvDt $fNameLvDt;
  1727.         return $this;
  1728.     }
  1729.     public function getNamePlDt(): ?string
  1730.     {
  1731.         return $this->fNamePlDt;
  1732.     }
  1733.     public function setNamePlDt(string $fNamePlDt): self
  1734.     {
  1735.         $this->fNamePlDt $fNamePlDt;
  1736.         return $this;
  1737.     }
  1738.     public function getNameUzDt(): ?string
  1739.     {
  1740.         return $this->fNameUzDt;
  1741.     }
  1742.     public function setNameUzDt(string $fNameUzDt): self
  1743.     {
  1744.         $this->fNameUzDt $fNameUzDt;
  1745.         return $this;
  1746.     }
  1747.     public function getNameRoDt(): ?string
  1748.     {
  1749.         return $this->fNameRoDt;
  1750.     }
  1751.     public function setNameRoDt(string $fNameRoDt): self
  1752.     {
  1753.         $this->fNameRoDt $fNameRoDt;
  1754.         return $this;
  1755.     }
  1756.     public function getNameEng(): ?string
  1757.     {
  1758.         return $this->nameEng;
  1759.     }
  1760.     public function setNameEng(string $nameEng): self
  1761.     {
  1762.         $this->nameEng $nameEng;
  1763.         return $this;
  1764.     }
  1765.     public function getAttendanceBy(): ?string
  1766.     {
  1767.         return $this->attendance_by;
  1768.     }
  1769.     public function setAttendanceBy(?string $attendance_by): self
  1770.     {
  1771.         $this->attendance_by $attendance_by;
  1772.         return $this;
  1773.     }
  1774.     public function getLanguageBy(): ?string
  1775.     {
  1776.         return $this->language_by;
  1777.     }
  1778.     public function setLanguageBy(?string $language_by): self
  1779.     {
  1780.         $this->language_by $language_by;
  1781.         return $this;
  1782.     }
  1783.     public function getCurrencyNameBy(): ?string
  1784.     {
  1785.         return $this->currencyName_by;
  1786.     }
  1787.     public function setCurrencyNameBy(?string $currencyName_by): self
  1788.     {
  1789.         $this->currencyName_by $currencyName_by;
  1790.         return $this;
  1791.     }
  1792.     public function getVisaforcountrycardBy(): ?string
  1793.     {
  1794.         return $this->visaforcountrycard_by;
  1795.     }
  1796.     public function setVisaforcountrycardBy(?string $visaforcountrycard_by): self
  1797.     {
  1798.         $this->visaforcountrycard_by $visaforcountrycard_by;
  1799.         return $this;
  1800.     }
  1801.     public function getAttendanceEe(): ?string
  1802.     {
  1803.         return $this->attendance_ee;
  1804.     }
  1805.     public function setAttendanceEe(string $attendance_ee): self
  1806.     {
  1807.         $this->attendance_ee $attendance_ee;
  1808.         return $this;
  1809.     }
  1810.     public function getLanguageEe(): ?string
  1811.     {
  1812.         return $this->language_ee;
  1813.     }
  1814.     public function setLanguageEe(?string $language_ee): self
  1815.     {
  1816.         $this->language_ee $language_ee;
  1817.         return $this;
  1818.     }
  1819.     public function getCurrencyNameEe(): ?string
  1820.     {
  1821.         return $this->currencyName_ee;
  1822.     }
  1823.     public function setCurrencyNameEe(?string $currencyName_ee): self
  1824.     {
  1825.         $this->currencyName_ee $currencyName_ee;
  1826.         return $this;
  1827.     }
  1828.     public function getVisaforcountrycardEe(): ?string
  1829.     {
  1830.         return $this->visaforcountrycard_ee;
  1831.     }
  1832.     public function setVisaforcountrycardEe(?string $visaforcountrycard_ee): self
  1833.     {
  1834.         $this->visaforcountrycard_ee $visaforcountrycard_ee;
  1835.         return $this;
  1836.     }
  1837.     public function getAttendanceLt(): ?string
  1838.     {
  1839.         return $this->attendance_lt;
  1840.     }
  1841.     public function setAttendanceLt(?string $attendance_lt): self
  1842.     {
  1843.         $this->attendance_lt $attendance_lt;
  1844.         return $this;
  1845.     }
  1846.     public function getLanguageLt(): ?string
  1847.     {
  1848.         return $this->language_lt;
  1849.     }
  1850.     public function setLanguageLt(?string $language_lt): self
  1851.     {
  1852.         $this->language_lt $language_lt;
  1853.         return $this;
  1854.     }
  1855.     public function getCurrencyNameLt(): ?string
  1856.     {
  1857.         return $this->currencyName_lt;
  1858.     }
  1859.     public function setCurrencyNameLt(?string $currencyName_lt): self
  1860.     {
  1861.         $this->currencyName_lt $currencyName_lt;
  1862.         return $this;
  1863.     }
  1864.     public function getVisaforcountrycardLt(): ?string
  1865.     {
  1866.         return $this->visaforcountrycard_lt;
  1867.     }
  1868.     public function setVisaforcountrycardLt(?string $visaforcountrycard_lt): self
  1869.     {
  1870.         $this->visaforcountrycard_lt $visaforcountrycard_lt;
  1871.         return $this;
  1872.     }
  1873.     public function getAttendanceLv(): ?string
  1874.     {
  1875.         return $this->attendance_lv;
  1876.     }
  1877.     public function setAttendanceLv(?string $attendance_lv): self
  1878.     {
  1879.         $this->attendance_lv $attendance_lv;
  1880.         return $this;
  1881.     }
  1882.     public function getLanguageLv(): ?string
  1883.     {
  1884.         return $this->language_lv;
  1885.     }
  1886.     public function setLanguageLv(?string $language_lv): self
  1887.     {
  1888.         $this->language_lv $language_lv;
  1889.         return $this;
  1890.     }
  1891.     public function getCurrencyNameLv(): ?string
  1892.     {
  1893.         return $this->currencyName_lv;
  1894.     }
  1895.     public function setCurrencyNameLv(?string $currencyName_lv): self
  1896.     {
  1897.         $this->currencyName_lv $currencyName_lv;
  1898.         return $this;
  1899.     }
  1900.     public function getVisaforcountrycardLv(): ?string
  1901.     {
  1902.         return $this->visaforcountrycard_lv;
  1903.     }
  1904.     public function setVisaforcountrycardLv(?string $visaforcountrycard_lv): self
  1905.     {
  1906.         $this->visaforcountrycard_lv $visaforcountrycard_lv;
  1907.         return $this;
  1908.     }
  1909.     public function getAttendancePl(): ?string
  1910.     {
  1911.         return $this->attendance_pl;
  1912.     }
  1913.     public function setAttendancePl(?string $attendance_pl): self
  1914.     {
  1915.         $this->attendance_pl $attendance_pl;
  1916.         return $this;
  1917.     }
  1918.     public function getLanguagePl(): ?string
  1919.     {
  1920.         return $this->language_pl;
  1921.     }
  1922.     public function setLanguagePl(?string $language_pl): self
  1923.     {
  1924.         $this->language_pl $language_pl;
  1925.         return $this;
  1926.     }
  1927.     public function getCurrencyNamePl(): ?string
  1928.     {
  1929.         return $this->currencyName_pl;
  1930.     }
  1931.     public function setCurrencyNamePl(?string $currencyName_pl): self
  1932.     {
  1933.         $this->currencyName_pl $currencyName_pl;
  1934.         return $this;
  1935.     }
  1936.     public function getVisaforcountrycardPl(): ?string
  1937.     {
  1938.         return $this->visaforcountrycard_pl;
  1939.     }
  1940.     public function setVisaforcountrycardPl(?string $visaforcountrycard_pl): self
  1941.     {
  1942.         $this->visaforcountrycard_pl $visaforcountrycard_pl;
  1943.         return $this;
  1944.     }
  1945.     public function getAttendanceUz(): ?string
  1946.     {
  1947.         return $this->attendance_uz;
  1948.     }
  1949.     public function setAttendanceUz(?string $attendance_uz): self
  1950.     {
  1951.         $this->attendance_uz $attendance_uz;
  1952.         return $this;
  1953.     }
  1954.     public function getLanguageUz(): ?string
  1955.     {
  1956.         return $this->language_uz;
  1957.     }
  1958.     public function setLanguageUz(?string $language_uz): self
  1959.     {
  1960.         $this->language_uz $language_uz;
  1961.         return $this;
  1962.     }
  1963.     public function getCurrencyNameUz(): ?string
  1964.     {
  1965.         return $this->currencyName_uz;
  1966.     }
  1967.     public function setCurrencyNameUz(?string $currencyName_uz): self
  1968.     {
  1969.         $this->currencyName_uz $currencyName_uz;
  1970.         return $this;
  1971.     }
  1972.     public function getVisaforcountrycardUz(): ?string
  1973.     {
  1974.         return $this->visaforcountrycard_uz;
  1975.     }
  1976.     public function setVisaforcountrycardUz(?string $visaforcountrycard_uz): self
  1977.     {
  1978.         $this->visaforcountrycard_uz $visaforcountrycard_uz;
  1979.         return $this;
  1980.     }
  1981.     public function getAttendanceRo(): ?string
  1982.     {
  1983.         return $this->attendance_ro;
  1984.     }
  1985.     public function setAttendanceRo(?string $attendance_ro): self
  1986.     {
  1987.         $this->attendance_ro $attendance_ro;
  1988.         return $this;
  1989.     }
  1990.     public function getLanguageRo(): ?string
  1991.     {
  1992.         return $this->language_ro;
  1993.     }
  1994.     public function setLanguageRo(?string $language_ro): self
  1995.     {
  1996.         $this->language_ro $language_ro;
  1997.         return $this;
  1998.     }
  1999.     public function getCurrencyNameRo(): ?string
  2000.     {
  2001.         return $this->currencyName_ro;
  2002.     }
  2003.     public function setCurrencyNameRo(?string $currencyName_ro): self
  2004.     {
  2005.         $this->currencyName_ro $currencyName_ro;
  2006.         return $this;
  2007.     }
  2008.     public function getVisaforcountrycardRo(): ?string
  2009.     {
  2010.         return $this->visaforcountrycard_ro;
  2011.     }
  2012.     public function setVisaforcountrycardRo(?string $visaforcountrycard_ro): self
  2013.     {
  2014.         $this->visaforcountrycard_ro $visaforcountrycard_ro;
  2015.         return $this;
  2016.     }
  2017.     public function getTimeZone(): ?string
  2018.     {
  2019.         return $this->timeZone;
  2020.     }
  2021.     public function setTimeZone($timeZone): void
  2022.     {
  2023.         $this->timeZone $timeZone;
  2024.     }
  2025.     public function getFNameKk(): ?string
  2026.     {
  2027.         return $this->fNameKk;
  2028.     }
  2029.     public function setFNameKk(string $fNameKk): self
  2030.     {
  2031.         $this->fNameKk $fNameKk;
  2032.         return $this;
  2033.     }
  2034.     public function getFNameKkRd(): ?string
  2035.     {
  2036.         return $this->fNameKkRd;
  2037.     }
  2038.     public function setFNameKkRd(string $fNameKkRd): self
  2039.     {
  2040.         $this->fNameKkRd $fNameKkRd;
  2041.         return $this;
  2042.     }
  2043.     public function getFNameKkVn(): ?string
  2044.     {
  2045.         return $this->fNameKkVn;
  2046.     }
  2047.     public function setFNameKkVn(string $fNameKkVn): self
  2048.     {
  2049.         $this->fNameKkVn $fNameKkVn;
  2050.         return $this;
  2051.     }
  2052.     public function getFNameKkPr(): ?string
  2053.     {
  2054.         return $this->fNameKkPr;
  2055.     }
  2056.     public function setFNameKkPr(string $fNameKkPr): self
  2057.     {
  2058.         $this->fNameKkPr $fNameKkPr;
  2059.         return $this;
  2060.     }
  2061.     public function getFNameKkDt(): ?string
  2062.     {
  2063.         return $this->fNameKkDt;
  2064.     }
  2065.     public function setFNameKkDt(string $fNameKkDt): self
  2066.     {
  2067.         $this->fNameKkDt $fNameKkDt;
  2068.         return $this;
  2069.     }
  2070.     public function getAttendanceKk(): ?string
  2071.     {
  2072.         return $this->attendance_kk;
  2073.     }
  2074.     public function setAttendanceKk(string $attendance_kk): self
  2075.     {
  2076.         $this->attendance_kk $attendance_kk;
  2077.         return $this;
  2078.     }
  2079.     public function getVisaforcountrycardKk(): ?string
  2080.     {
  2081.         return $this->visaforcountrycard_kk;
  2082.     }
  2083.     public function setVisaforcountrycardKk(string $visaforcountrycard_kk): self
  2084.     {
  2085.         $this->visaforcountrycard_kk $visaforcountrycard_kk;
  2086.         return $this;
  2087.     }
  2088.     public function getLanguageKk(): ?string
  2089.     {
  2090.         return $this->language_kk;
  2091.     }
  2092.     public function setLanguageKk(string $language_kk): self
  2093.     {
  2094.         $this->language_kk $language_kk;
  2095.         return $this;
  2096.     }
  2097.     public function getCurrencyNameKk(): ?string
  2098.     {
  2099.         return $this->currencyName_kk;
  2100.     }
  2101.     public function setCurrencyNameKk(string $currencyName_kk): self
  2102.     {
  2103.         $this->currencyName_kk $currencyName_kk;
  2104.         return $this;
  2105.     }
  2106.     public function getCountryCharacteristics(): Collection
  2107.     {
  2108.         return $this->countryCharacteristics;
  2109.     }
  2110.     public function addCountryCharacteristic(CountryCharacteristic $value): self
  2111.     {
  2112.         if (!$this->countryCharacteristics->contains($value)) {
  2113.             $this->countryCharacteristics[] = $value;
  2114.             $value->setCountry($this);
  2115.         }
  2116.         return $this;
  2117.     }
  2118.     public function removeCountryCharacteristic(CountryCharacteristic $value): self
  2119.     {
  2120.         if ($this->countryCharacteristics->contains($value)) {
  2121.             $this->countryCharacteristics->removeElement($value);
  2122.             if ($value->getCountry() === $this) {
  2123.                 $value->setCountry(null);
  2124.             }
  2125.         }
  2126.         return $this;
  2127.     }
  2128. }