<?php
namespace CoreBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use DcSiteBundle\Entity\Vacancy;
use Application\Sonata\MediaBundle\Entity\Media;
use DcSiteBundle\Entity\ServiceWork;
use DcSiteBundle\Entity\OperatingManuals;
use Doctrine\Common\Collections\Collection;
use Application\Sonata\MediaBundle\Entity\Gallery;
use DcSiteBundle\Entity\Faq;
/**
 * Dealer
 */
class Dealer
{
    /**
     * @var integer
     */
    private $id;
    /**
     * @var string
     */
    private $name;
    /**
     * @var Collection
     */
    private $users;
    /**
     * @var string
     */
    private $unique_id;
    /**
     * @var string
     */
    private $domain;
    /**
     * @var Brand
     */
    private $brand;
    /**
     * @var string
     */
    private $official_name_ru;
    /**
     * @var string
     */
    private $official_name_ua;
    /**
     * @var string
     */
    private $city_name_ru;
    /**
     * @var string
     */
    private $city_name_ua;
    /**
     * @var string
     */
    private $address_service_ru;
    /**
     * @var string
     */
    private $address_service_ua;
    /**
     * @var string
     */
    private $official_address_ru;
    /**
     * @var string
     */
    private $official_address_ua;
    /**
     * @var string
     */
    private $edrpou;
    /**
     * @var string
     */
    private $seo_url;
    /**
     * @var string
     */
    private $iban;
    /**
     * @var string
     */
    private $facilities;
    /**
     * @var string
     */
    private $description_ru;
    /**
     * @var string
     */
    private $description_ua;
    /**
     * @var Gallery
     */
    private $gallery;
    /**
     * @var boolean
     */
    private $isNightDealer;
    /**
     * @var string
     */
    private $gtm_code;
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->users = new ArrayCollection();
    }
    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Set name
     *
     * @param string $name
     *
     * @return Dealer
     */
    public function setName($name)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get name
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Add user
     *
     * @param User $user
     *
     * @return Dealer
     */
    public function addUser(User $user)
    {
        $this->users[] = $user;
        return $this;
    }
    /**
     * Remove user
     *
     * @param User $user
     */
    public function removeUser(User $user)
    {
        $this->users->removeElement($user);
    }
    /**
     * Get users
     *
     * @return Collection
     */
    public function getUsers()
    {
        return $this->users;
    }
    /**
     * Set domain
     *
     * @param string $domain
     *
     * @return Dealer
     */
    public function setDomain($domain)
    {
        $this->domain = $domain;
        return $this;
    }
    /**
     * Get domain
     *
     * @return string
     */
    public function getDomain()
    {
        return $this->domain;
    }
    /**
     * @var float
     */
    private $rate;
    /**
     * Set rate
     *
     * @param float $rate
     *
     * @return Dealer
     */
    public function setRate($rate)
    {
        $this->rate = $rate;
        return $this;
    }
    /**
     * Get rate
     *
     * @return float
     */
    public function getRate()
    {
        return $this->rate;
    }
    /**
     * @var Collection
     */
    private $vacancies;
    /**
     * Add vacancy
     *
     * @param Vacancy $vacancy
     *
     * @return Dealer
     */
    public function addVacancy(Vacancy $vacancy)
    {
        $this->vacancies[] = $vacancy;
        return $this;
    }
    /**
     * Remove vacancy
     *
     * @param Vacancy $vacancy
     */
    public function removeVacancy(Vacancy $vacancy)
    {
        $this->vacancies->removeElement($vacancy);
    }
    /**
     * Get vacancies
     *
     * @return Collection
     */
    public function getVacancies()
    {
        return $this->vacancies;
    }
    /**
     * Set uniqueId
     *
     * @param string $uniqueId
     *
     * @return Dealer
     */
    public function setUniqueId($uniqueId)
    {
        $this->unique_id = $uniqueId;
        return $this;
    }
    /**
     * Get uniqueId
     *
     * @return string
     */
    public function getUniqueId()
    {
        return $this->unique_id;
    }
    /**
     * Set brand
     *
     * @param Brand $brand
     *
     * @return Dealer
     */
    public function setBrand(Brand $brand = null)
    {
        $this->brand = $brand;
        return $this;
    }
    /**
     * Get brand
     *
     * @return Brand
     */
    public function getBrand()
    {
        return $this->brand;
    }
    public function __toString()
    {
        return $this->name;
    }
    /**
     * @var string
     */
    private $address_ru;
    /**
     * @var string
     */
    private $address_ua;
    /**
     * Set addressRu
     *
     * @param string $addressRu
     *
     * @return Dealer
     */
    public function setAddressRu($addressRu)
    {
        $this->address_ru = $addressRu;
        return $this;
    }
    /**
     * Get addressRu
     *
     * @return string
     */
    public function getAddressRu()
    {
        return $this->address_ru;
    }
    /**
     * Set addressUa
     *
     * @param string $addressUa
     *
     * @return Dealer
     */
    public function setAddressUa($addressUa)
    {
        $this->address_ua = $addressUa;
        return $this;
    }
    /**
     * Get addressUa
     *
     * @return string
     */
    public function getAddressUa()
    {
        return $this->address_ua;
    }
    /**
     * @var string
     */
    private $url;
    /**
     * Set url
     *
     * @param string $url
     *
     * @return Dealer
     */
    public function setUrl($url)
    {
        $this->url = $url;
        return $this;
    }
    /**
     * Get url
     *
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }
    /**
     * @var string
     */
    private $phone;
    /**
     * @var string
     */
    private $email_sale;
    /**
     * @var string
     */
    private $email_service;
    /**
     * Set phone
     *
     * @param string $phone
     *
     * @return Dealer
     */
    public function setPhone($phone)
    {
        $this->phone = $phone;
        return $this;
    }
    /**
     * Get phone
     *
     * @return string
     */
    public function getPhone()
    {
        return $this->phone;
    }
    /**
     * Set emailSale
     *
     * @param string $emailSale
     *
     * @return Dealer
     */
    public function setEmailSale($emailSale)
    {
        $this->email_sale = $emailSale;
        return $this;
    }
    /**
     * Get emailSale
     *
     * @return string
     */
    public function getEmailSale()
    {
        return $this->email_sale;
    }
    /**
     * Set emailService
     *
     * @param string $emailService
     *
     * @return Dealer
     */
    public function setEmailService($emailService)
    {
        $this->email_service = $emailService;
        return $this;
    }
    /**
     * Get emailService
     *
     * @return string
     */
    public function getEmailService()
    {
        return $this->email_service;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getAddressByLocale($locale) {
        if($locale == 'ru') {
            return $this->getAddressRu();
        }
        return $this->getAddressUa();
    }
    /**
     * @var string
     */
    private $open_time;
    /**
     * @var string
     */
    private $close_time;
    /**
     * Set openTime
     *
     * @param string $openTime
     *
     * @return Dealer
     */
    public function setOpenTime($openTime)
    {
        $this->open_time = $openTime;
        return $this;
    }
    /**
     * Get openTime
     *
     * @return string
     */
    public function getOpenTime()
    {
        return $this->open_time;
    }
    /**
     * Set closeTime
     *
     * @param string $closeTime
     *
     * @return Dealer
     */
    public function setCloseTime($closeTime)
    {
        $this->close_time = $closeTime;
        return $this;
    }
    /**
     * Get closeTime
     *
     * @return string
     */
    public function getCloseTime()
    {
        return $this->close_time;
    }
    /**
     * @var string
     */
    private $lat;
    /**
     * @var string
     */
    private $lng;
    /**
     * Set lat
     *
     * @param string $lat
     *
     * @return Dealer
     */
    public function setLat($lat)
    {
        $this->lat = $lat;
        return $this;
    }
    /**
     * Get lat
     *
     * @return string
     */
    public function getLat()
    {
        return $this->lat;
    }
    /**
     * Set lng
     *
     * @param string $lng
     *
     * @return Dealer
     */
    public function setLng($lng)
    {
        $this->lng = $lng;
        return $this;
    }
    /**
     * Get lng
     *
     * @return string
     */
    public function getLng()
    {
        return $this->lng;
    }
    /**
     * @var string
     */
    private $lat_service;
    /**
     * @var string
     */
    private $lng_service;
    /**
     * Set lat
     *
     * @param string $lat
     *
     * @return Dealer
     */
    public function setLatService($lat)
    {
        $this->lat_service = $lat;
        return $this;
    }
    /**
     * Get lat
     *
     * @return string
     */
    public function getLatService()
    {
        return $this->lat_service;
    }
    /**
     * Set lng
     *
     * @param string $lng
     *
     * @return Dealer
     */
    public function setLngService($lng)
    {
        $this->lng_service = $lng;
        return $this;
    }
    /**
     * Get lng
     *
     * @return string
     */
    public function getLngService()
    {
        return $this->lng_service;
    }
    /**
     * @var string
     */
    private $crm_name;
    /**
     * Set crmName
     *
     * @param string $crmName
     *
     * @return Dealer
     */
    public function setCrmName($crmName)
    {
        $this->crm_name = $crmName;
        return $this;
    }
    /**
     * Get crmName
     *
     * @return string
     */
    public function getCrmName()
    {
        return $this->crm_name;
    }
    /**
     * @var string
     */
    private $ga_tracking_id;
    /**
     * Set gaTrackingId
     *
     * @param string $gaTrackingId
     *
     * @return Dealer
     */
    public function setGaTrackingId($gaTrackingId)
    {
        $this->ga_tracking_id = $gaTrackingId;
        return $this;
    }
    /**
     * Get gaTrackingId
     *
     * @return string
     */
    public function getGaTrackingId()
    {
        return $this->ga_tracking_id;
    }
    /**
     * @var string
     */
    private $crm_id;
    /**
     * Set crmId
     *
     * @param string $crmId
     *
     * @return Dealer
     */
    public function setCrmId($crmId)
    {
        $this->crm_id = $crmId;
        return $this;
    }
    /**
     * Get crmId
     *
     * @return string
     */
    public function getCrmId()
    {
        return $this->crm_id;
    }
    /**
     * @var float
     */
    private $hour_cost;
    /**
     * Set hourCost
     *
     * @param float $hourCost
     *
     * @return Dealer
     */
    public function setHourCost($hourCost)
    {
        $this->hour_cost = $hourCost;
        return $this;
    }
    /**
     * Get hourCost
     *
     * @return float
     */
    public function getHourCost()
    {
        return $this->hour_cost;
    }
    /**
     * @var string
     */
    private $link_facebook;
    /**
     * @var string
     */
    private $link_youtube;
    /**
     * @var string
     */
    private $link_instagram;
    /**
     * @var Media
     */
    private $image_service_center;
    /**
     * Set linkFacebook
     *
     * @param string $linkFacebook
     *
     * @return Dealer
     */
    public function setLinkFacebook($linkFacebook)
    {
        $this->link_facebook = $linkFacebook;
        return $this;
    }
    /**
     * Get linkFacebook
     *
     * @return string
     */
    public function getLinkFacebook()
    {
        return $this->link_facebook;
    }
    /**
     * Set linkYoutube
     *
     * @param string $linkYoutube
     *
     * @return Dealer
     */
    public function setLinkYoutube($linkYoutube)
    {
        $this->link_youtube = $linkYoutube;
        return $this;
    }
    /**
     * Get linkYoutube
     *
     * @return string
     */
    public function getLinkYoutube()
    {
        return $this->link_youtube;
    }
    /**
     * Set linkInstagram
     *
     * @param string $linkInstagram
     *
     * @return Dealer
     */
    public function setLinkInstagram($linkInstagram)
    {
        $this->link_instagram = $linkInstagram;
        return $this;
    }
    /**
     * Get linkInstagram
     *
     * @return string
     */
    public function getLinkInstagram()
    {
        return $this->link_instagram;
    }
    /**
     * @var string
     */
    private $name_ru;
    /**
     * Set nameRu
     *
     * @param string $nameRu
     *
     * @return Dealer
     */
    public function setNameRu($nameRu)
    {
        $this->name_ru = $nameRu;
        return $this;
    }
    /**
     * Get nameRu
     *
     * @return string
     */
    public function getNameRu()
    {
        return $this->name_ru;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getNameByLocale($locale = 'ru')
    {
        if($locale == 'ru') {
            return $this->getNameRu();
        }
        return $this->getName();
    }
    /**
     * @var string
     */
    private $uid_1c;
    /**
     * Set uid1c
     *
     * @param string $uid1c
     *
     * @return Dealer
     */
    public function setUid1c($uid1c)
    {
        $this->uid_1c = $uid1c;
        return $this;
    }
    /**
     * Get uid1c
     *
     * @return string
     */
    public function getUid1c()
    {
        return $this->uid_1c;
    }
    /**
     * @var integer
     */
    private $position;
    /**
     * Set position
     *
     * @param integer $position
     *
     * @return Dealer
     */
    public function setPosition($position)
    {
        $this->position = $position;
        return $this;
    }
    /**
     * Get position
     *
     * @return integer
     */
    public function getPosition()
    {
        return $this->position;
    }
    /**
     * @var integer
     */
    private $fb_access_token;
    /**
     * Set fbAccessToken
     *
     * @param integer $fbAccessToken
     *
     * @return Dealer
     */
    public function setFbAccessToken($fbAccessToken)
    {
        $this->fb_access_token = $fbAccessToken;
        return $this;
    }
    /**
     * Get fbAccessToken
     *
     * @return integer
     */
    public function getFbAccessToken()
    {
        return $this->fb_access_token;
    }
    /**
     * @param string $official_name_ru
     * @return $this
     */
    public function setOfficialNameRu($official_name_ru)
    {
        $this->official_name_ru = $official_name_ru;
        return $this;
    }
    /**
     * @return string
     */
    public function getOfficialNameRu()
    {
        return $this->official_name_ru;
    }
    /**
     * @param string $edrpou
     * @return $this
     */
    public function setEdrpou($edrpou)
    {
        $this->edrpou = $edrpou;
        return $this;
    }
    /**
     * @return string
     */
    public function getEdrpou()
    {
        return $this->edrpou;
    }
    /**
     * @param string $official_name_ua
     * @return $this
     */
    public function setOfficialNameUa($official_name_ua)
    {
        $this->official_name_ua = $official_name_ua;
        return $this;
    }
    /**
     * @return string
     */
    public function getOfficialNameUa()
    {
        return $this->official_name_ua;
    }
    /**
     * @param string $city_name_ru
     * @return $this
     */
    public function setCityNameRu($city_name_ru)
    {
        $this->city_name_ru = $city_name_ru;
        return $this;
    }
    /**
     * @return string
     */
    public function getCityNameRu()
    {
        return $this->city_name_ru;
    }
    /**
     * @param string $city_name_ua
     * @return $this
     */
    public function setCityNameUa($city_name_ua)
    {
        $this->city_name_ua = $city_name_ua;
        return $this;
    }
    /**
     * @return string
     */
    public function getCityNameUa()
    {
        return $this->city_name_ua;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getCityNameByLocale($locale)
    {
        return $locale === 'ua' ? $this->getCityNameUa() : $this->getCityNameRu();
    }
    /**
     * @param string $address_service_ru
     * @return $this
     */
    public function setAddressServiceRu($address_service_ru)
    {
        $this->address_service_ru = $address_service_ru;
        return $this;
    }
    /**
     * @return string
     */
    public function getAddressServiceRu()
    {
        return $this->address_service_ru;
    }
    /**
     * @param string $address_service_ua
     * @return $this
     */
    public function setAddressServiceUa($address_service_ua)
    {
        $this->address_service_ua = $address_service_ua;
        return $this;
    }
    /**
     * @return string
     */
    public function getAddressServiceUa()
    {
        return $this->address_service_ua;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getAddressServiceByLocale($locale)
    {
        return $locale === 'ua' ? $this->getAddressServiceUa() : $this->getAddressServiceRu();
    }
    /**
     * @param string $official_address_ru
     * @return $this
     */
    public function setOfficialAddressRu($official_address_ru)
    {
        $this->official_address_ru = $official_address_ru;
        return $this;
    }
    /**
     * @return string
     */
    public function getOfficialAddressRu()
    {
        return $this->official_address_ru;
    }
    /**
     * @param string $official_address_ua
     * @return $this
     */
    public function setOfficialAddressUa($official_address_ua)
    {
        $this->official_address_ua = $official_address_ua;
        return $this;
    }
    /**
     * @return string
     */
    public function getOfficialAddressUa()
    {
        return $this->official_address_ua;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getOfficialNameByLocale($locale)
    {
        return $locale === 'ua' ? $this->getOfficialNameUa() : $this->getOfficialNameRu();
    }
    /**
     * @param $locale
     * @return string
     */
    public function getOfficialAddressByLocale($locale)
    {
        return $locale === 'ua' ? $this->getOfficialAddressUa() : $this->getOfficialAddressRu();
    }
    /**
     * @var string
     */
    private $phone_service;
    /**
     * @param string $phone_service
     * @return $this
     */
    public function setPhoneService($phone_service)
    {
        $this->phone_service = $phone_service;
        return $this;
    }
    /**
     * @return string
     */
    public function getPhoneService()
    {
        return $this->phone_service;
    }
    /**
     * @var string
     */
    private $base_name_1c;
    /**
     * Set baseName1c
     *
     * @param string $baseName1c
     *
     * @return Dealer
     */
    public function setBaseName1c($baseName1c)
    {
        $this->base_name_1c = $baseName1c;
        return $this;
    }
    /**
     * Get baseName1c
     *
     * @return string
     */
    public function getBaseName1c()
    {
        return $this->base_name_1c;
    }
    private $ria_user_id;
    /**
     * Set riaUserId
     *
     * @param integer $riaUserId
     *
     * @return Dealer
     */
    public function setRiaUserId($riaUserId)
    {
        $this->ria_user_id = $riaUserId;
        return $this;
    }
    /**
     * Get riaUserId
     *
     * @return integer
     */
    public function getRiaUserId()
    {
        return $this->ria_user_id;
    }
    /**
     * @var string
     */
    private $link_service_video;
    /**
     * Set linkServiceVideo
     *
     * @param string $linkServiceVideo
     *
     * @return Dealer
     */
    public function setLinkServiceVideo($linkServiceVideo)
    {
        $this->link_service_video = $linkServiceVideo;
        return $this;
    }
    /**
     * Get linkServiceVideo
     *
     * @return string
     */
    public function getLinkServiceVideo()
    {
        return $this->link_service_video;
    }
    /**
     * @var float
     */
    private $rate_in_delivery;
    /**
     * Set rateInDelivery
     *
     * @param float $rateInDelivery
     *
     * @return Dealer
     */
    public function setRateInDelivery($rateInDelivery)
    {
        $this->rate_in_delivery = $rateInDelivery;
        return $this;
    }
    /**
     * Get rateInDelivery
     *
     * @return float
     */
    public function getRateInDelivery()
    {
        return $this->rate_in_delivery;
    }
    /**
     * Set imageServiceCenter
     *
     * @param Media $imageServiceCenter
     *
     * @return Dealer
     */
    public function setImageServiceCenter(Media $imageServiceCenter = null)
    {
        $this->image_service_center = $imageServiceCenter;
        return $this;
    }
    /**
     * Get imageServiceCenter
     *
     * @return Media
     */
    public function getImageServiceCenter()
    {
        return $this->image_service_center;
    }
    /**
     * Set facilities
     *
     * @param string $facilities
     *
     * @return Dealer
     */
    public function setFacilities($facilities)
    {
        $this->facilities = $facilities;
        return $this;
    }
    /**
     * Get facilities
     *
     * @return string
     */
    public function getFacilities()
    {
        return $this->facilities;
    }
    /**
     * @var City
     */
    private $city;
    /**
     * Set city.
     *
     * @param City|null $city
     *
     * @return Dealer
     */
    public function setCity(City $city = null)
    {
        $this->city = $city;
        return $this;
    }
    /**
     * Get city.
     *
     * @return City|null
     */
    public function getCity()
    {
        return $this->city;
    }
    public function hasCity()
    {
        return $this->getCity() ?? false;
    }
    /**
     * @var Collection
     */
    private $service_work;
    /**
     * Add serviceWork.
     *
     * @param ServiceWork $serviceWork
     *
     * @return Dealer
     */
    public function addServiceWork(ServiceWork $serviceWork)
    {
        $this->service_work[] = $serviceWork;
        return $this;
    }
    /**
     * Remove serviceWork.
     *
     * @param ServiceWork $serviceWork
     *
     * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
     */
    public function removeServiceWork(ServiceWork $serviceWork)
    {
        return $this->service_work->removeElement($serviceWork);
    }
    /**
     * Get serviceWork.
     *
     * @return Collection
     */
    public function getServiceWork()
    {
        return $this->service_work;
    }
    /**
     * @var string|null
     */
    private $nova_poshta_api_key;
    /**
     * Set novaPoshtaApiKey.
     *
     * @param string|null $novaPoshtaApiKey
     *
     * @return Dealer
     */
    public function setNovaPoshtaApiKey($novaPoshtaApiKey = null)
    {
        $this->nova_poshta_api_key = $novaPoshtaApiKey;
        return $this;
    }
    /**
     * Get novaPoshtaApiKey.
     *
     * @return string|null
     */
    public function getNovaPoshtaApiKey()
    {
        return $this->nova_poshta_api_key;
    }
    /**
     * @var DealerWorkHours
     */
    private $dealerWorkHours;
    /**
     * Set dealerWorkHours.
     *
     * @param DealerWorkHours|null $dealerWorkHours
     *
     * @return Dealer
     */
    public function setDealerWorkHours(DealerWorkHours $dealerWorkHours = null)
    {
        $this->dealerWorkHours = $dealerWorkHours;
        return $this;
    }
    /**
     * Get dealerWorkHours.
     *
     * @return DealerWorkHours|null
     */
    public function getDealerWorkHours()
    {
        return $this->dealerWorkHours;
    }
    /**
     * @param string $iban
     * @return $this
     */
    public function setIban($iban)
    {
        $this->iban = $iban;
        return $this;
    }
    /**
     * @return string
     */
    public function getIban()
    {
        return $this->iban;
    }
    /**
     * Set descriptionUa.
     *
     * @param string $descriptionUa
     *
     */
    public function setDescriptionUa($descriptionUa)
    {
        $this->description_ua = $descriptionUa;
        return $this;
    }
    /**
     * Get descriptionUa.
     *
     * @return string
     */
    public function getDescriptionUa()
    {
        return $this->description_ua;
    }
    /**
     * Set descriptionRu.
     *
     * @param string $descriptionRu
     *
     */
    public function setDescriptionRu($descriptionRu)
    {
        $this->description_ru = $descriptionRu;
        return $this;
    }
    /**
     * Get descriptionRu.
     *
     * @return string
     */
    public function getDescriptionRu()
    {
        return $this->description_ru;
    }
    /**
     * @param $locale
     * @return string
     */
    public function getDescriptionByLocale($locale = 'ru')
    {
        if($locale == 'ru') {
            return $this->getDescriptionRu();
        }
        return $this->getDescriptionUa();
    }
    /**
     * Set gallery
     *
     * @param Gallery $gallery
     *
     * @return Post
     */
    public function setGallery(Gallery $gallery = null)
    {
        $this->gallery = $gallery;
        return $this;
    }
    /**
     * Get gallery
     *
     * @return Gallery
     */
    public function getGallery()
    {
        return $this->gallery;
    }
    /**
     * @param string $seo_url
     * @return $this
     */
    public function setSeoUrl($seo_url)
    {
        $this->seo_url = $seo_url;
        return $this;
    }
    /**
     * @return string
     */
    public function getSeoUrl()
    {
        return $this->seo_url;
    }
    /**
     * @var string|null
     */
    private $merchant_id;
    /**
     * Set merchantId.
     *
     * @param string|null $merchantId
     *
     * @return Dealer
     */
    public function setMerchantId($merchantId = null)
    {
        $this->merchant_id = $merchantId;
        return $this;
    }
    /**
     * Get merchantId.
     *
     * @return string|null
     */
    public function getMerchantId()
    {
        return $this->merchant_id;
    }
    /**
     * @var int|null
     */
    private $output_order;
    /**
     * Set outputOrder.
     *
     * @param int|null $outputOrder
     *
     * @return Dealer
     */
    public function setOutputOrder($outputOrder = null)
    {
        $this->output_order = $outputOrder;
        return $this;
    }
    /**
     * Get outputOrder.
     *
     * @return int|null
     */
    public function getOutputOrder()
    {
        return $this->output_order;
    }
    private $external_uid_1c;
    /**
     * Set externalUid1c
     *
     * @param string $externalUid1c
     *
     * @return Dealer
     */
    public function setExternalUid1c($externalUid1c)
    {
        $this->external_uid_1c = $externalUid1c;
        return $this;
    }
    /**
     * Get externalUid1c
     *
     * @return string
     */
    public function getExternalUid1c()
    {
        return $this->external_uid_1c;
    }
    /**
     * @var Collection
     */
    private $operating_manuals;
    /**
     * Add operatingManual.
     *
     * @param OperatingManuals $operatingManual
     *
     * @return Dealer
     */
    public function addOperatingManual(OperatingManuals $operatingManual)
    {
        $this->operating_manuals[] = $operatingManual;
        return $this;
    }
    /**
     * Remove operatingManual.
     *
     * @param OperatingManuals $operatingManual
     *
     * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
     */
    public function removeOperatingManual(OperatingManuals $operatingManual)
    {
        return $this->operating_manuals->removeElement($operatingManual);
    }
    /**
     * Get operatingManuals.
     *
     * @return Collection
     */
    public function getOperatingManuals()
    {
        return $this->operating_manuals;
    }
    public function getIsNightDealer(): bool
    {
        return $this->isNightDealer;
    }
    public function setIsNightDealer(bool $isNightDealer): Dealer
    {
        $this->isNightDealer = $isNightDealer;
        return $this;
    }
    /**
     * @var string|null
     */
    private $facebook_pixel_code;
    /**
     * Set facebookPixelCode.
     *
     * @param string|null $facebookPixelCode
     *
     * @return Dealer
     */
    public function setFacebookPixelCode($facebookPixelCode = null)
    {
        $this->facebook_pixel_code = $facebookPixelCode;
        return $this;
    }
    /**
     * Get facebookPixelCode.
     *
     * @return string|null
     */
    public function getFacebookPixelCode()
    {
        return $this->facebook_pixel_code;
    }
    /**
     * @var Collection
     */
    private $faq;
    /**
     * Add faq.
     *
     * @param Faq $faq
     *
     * @return Dealer
     */
    public function addFaq(Faq $faq)
    {
        $this->faq[] = $faq;
        return $this;
    }
    /**
     * Remove faq.
     *
     * @param Faq $faq
     *
     * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
     */
    public function removeFaq(Faq $faq)
    {
        return $this->faq->removeElement($faq);
    }
    /**
     * Get faq.
     *
     * @return Collection
     */
    public function getFaq()
    {
        return $this->faq;
    }
    /**
     * @var string|null
     */
    private $tik_tok_pixel_code;
    /**
     * Set tikTokPixelCode.
     *
     * @param string|null $tikTokPixelCode
     *
     * @return Dealer
     */
    public function setTikTokPixelCode($tikTokPixelCode = null)
    {
        $this->tik_tok_pixel_code = $tikTokPixelCode;
        return $this;
    }
    /**
     * Get tikTokPixelCode.
     *
     * @return string|null
     */
    public function getTikTokPixelCode()
    {
        return $this->tik_tok_pixel_code;
    }
    /**
     * @var \Doctrine\Common\Collections\Collection
     */
    private $posts;
    /**
     * Get posts.
     *
     * @return \Doctrine\Common\Collections\Collection
     */
    public function getPosts()
    {
        return $this->posts;
    }
    /**
     * @return string|null
     */
    public function getGtmCode(): ?string
    {
        return $this->gtm_code;
    }
    /**
     * @param $gtm_code
     * @return void
     */
    public function setGtmCode($gtm_code = null): void
    {
        $this->gtm_code = $gtm_code;
    }
}