src/Aviatur/AgencyBundle/Entity/Agency.php line 14

Open in your IDE?
  1. <?php
  2. namespace Aviatur\AgencyBundle\Entity;
  3. use Doctrine\Common\Collections\Collection;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Agency.
  7.  *
  8.  * @ORM\Table(name="agency")
  9.  * @ORM\Entity(repositoryClass="Aviatur\AgencyBundle\Entity\AgencyRepository")
  10.  */
  11. class Agency
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="externalId", type="string", length=10, nullable=false)
  25.      */
  26.     private $externalid;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="officeId", type="string", length=10, nullable=false)
  31.      */
  32.     private $officeid;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="name", type="string", length=100, nullable=false)
  37.      */
  38.     private $name;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="nit", type="string", length=20, nullable=false)
  43.      */
  44.     private $nit;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="phone", type="string", length=50, nullable=true)
  49.      */
  50.     private $phone;
  51.     /**
  52.      * @var string
  53.      *
  54.      * @ORM\Column(name="address", type="string", length=100, nullable=true)
  55.      */
  56.     private $address;
  57.     /**
  58.      * @var string
  59.      *
  60.      * @ORM\Column(name="mailContact", type="string", length=100, nullable=false)
  61.      */
  62.     private $mailcontact;
  63.     /**
  64.      * @var string
  65.      *
  66.      * @ORM\Column(name="mailBooking", type="string", length=100, nullable=false)
  67.      */
  68.     private $mailbooking;
  69.     /**
  70.      * @var string
  71.      *
  72.      * @ORM\Column(name="mailOperations", type="string", length=100, nullable=false)
  73.      */
  74.     private $mailoperations;
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="mailVouchers", type="string", length=100, nullable=false)
  79.      */
  80.     private $mailvouchers;
  81.     /**
  82.      * @var string
  83.      *
  84.      * @ORM\Column(name="domain", type="string", length=50, nullable=false)
  85.      */
  86.     private $domain;
  87.     /**
  88.      * @var string
  89.      *
  90.      * @ORM\Column(name="domainSecure", type="string", length=50, nullable=false)
  91.      */
  92.     private $domainsecure;
  93.     /**
  94.      * @var string
  95.      *
  96.      * @ORM\Column(name="domainOld", type="string", length=50, nullable=false)
  97.      */
  98.     private $domainold;
  99.     /**
  100.      * @var string
  101.      *
  102.      * @ORM\Column(name="urlRoute", type="string", length=255, nullable=false)
  103.      */
  104.     private $urlroute;
  105.     /**
  106.      * @var string
  107.      *
  108.      * @ORM\Column(name="idClientFacebook", type="string", length=500, nullable=true)
  109.      */
  110.     private $idclientfacebook;
  111.     /**
  112.      * @var string
  113.      *
  114.      * @ORM\Column(name="idClientGoogle", type="string", length=500, nullable=true)
  115.      */
  116.     private $idclientgoogle;
  117.     /**
  118.      * @var string
  119.      *
  120.      * @ORM\Column(name="customPort", type="string", length=10, nullable=true)
  121.      */
  122.     private $customport;
  123.     /**
  124.      * @var string
  125.      *
  126.      * @ORM\Column(name="phonesContact", type="string", length=255, nullable=true)
  127.      */
  128.     private $phonescontact;
  129.     /**
  130.      * @var string
  131.      *
  132.      * @ORM\Column(name="socialmedia", type="text")
  133.      */
  134.     private $socialmedia;
  135.     /**
  136.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AdminFee", mappedBy="agency", cascade={"all"})
  137.      */
  138.     private $adminFee;
  139.     /**
  140.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\AgencyPaymentConfig", mappedBy="agency", cascade={"all"})
  141.      */
  142.     private $agencyPaymentConfig;
  143.     /**
  144.      * @ORM\OneToMany(targetEntity="Aviatur\CarBundle\Entity\ConfigCarAgency", mappedBy="agency", cascade={"all"})
  145.      */
  146.     private $configCarAgency;
  147.     /**
  148.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightAgency", mappedBy="agency", cascade={"all"})
  149.      */
  150.     private $configFlightAgency;
  151.     /**
  152.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency", mappedBy="agency", cascade={"all"})
  153.      */
  154.     private $configFlightCalendarAgency;
  155.     /**
  156.      * @ORM\OneToMany(targetEntity="Aviatur\HotelBundle\Entity\ConfigHotelAgency", mappedBy="agency", cascade={"all"})
  157.      */
  158.     private $configHotelAgency;
  159.     /**
  160.      * @ORM\OneToMany(targetEntity="Aviatur\PackageBundle\Entity\ConfigPackageAgency", mappedBy="agency", cascade={"all"})
  161.      */
  162.     private $configPackageAgency;
  163.     /**
  164.      * @ORM\OneToMany(targetEntity="Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency", mappedBy="agency", cascade={"all"})
  165.      */
  166.     private $configInsuranceAgency;
  167.     /**
  168.      * @ORM\OneToMany(targetEntity="Aviatur\BusBundle\Entity\ConfigBusAgency", mappedBy="agency", cascade={"all"})
  169.      */
  170.     private $configBusAgency;
  171.     /**
  172.      * @ORM\OneToMany(targetEntity="Aviatur\ContentBundle\Entity\Content", mappedBy="agency", cascade={"all"})
  173.      */
  174.     private $content;
  175.     /**
  176.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Order", mappedBy="agency", cascade={"all"})
  177.      */
  178.     private $order;
  179.     /**
  180.      * @ORM\OneToMany(targetEntity="Aviatur\EditionBundle\Entity\HomePromoList", mappedBy="agency", cascade={"all"})
  181.      */
  182.     private $homePromoList;
  183.     /**
  184.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Alerts", mappedBy="agency", cascade={"all"})
  185.      */
  186.     private $alerts;
  187.     /**
  188.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\UserAgency", mappedBy="agency", cascade={"all"})
  189.      */
  190.     private $userAgency;
  191.     /**
  192.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Parameter", mappedBy="agency", cascade={"all"})
  193.      */
  194.     private $parameter;
  195.     /**
  196.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\HistoricalInfo", mappedBy="agency", cascade={"all"})
  197.      */
  198.     private $historicalInfo;
  199.     /**
  200.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PaymentMethodAgency", mappedBy="agency", cascade={"all"})
  201.      */
  202.     private $paymentMethodAgency;
  203.     /**
  204.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PromoSearchAgency", mappedBy="agencyId", cascade={"all"})
  205.      */
  206.     private $promoSearchAgency;
  207.     /**
  208.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Metasearch", mappedBy="agency", cascade={"all"})
  209.      */
  210.     private $metasearch;
  211.     /**
  212.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Whitemark", mappedBy="agency", cascade={"all"})
  213.      */
  214.     private $whitemark;
  215.     /**
  216.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\UrlHomologation", mappedBy="agency", cascade={"all"})
  217.      */
  218.     private $urlHomologation;
  219.     /**
  220.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\SeoHeader", mappedBy="agency", cascade={"all"})
  221.      */
  222.     private $seoHeader;
  223.     /**
  224.      * @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Service", mappedBy="agency", cascade={"all"})
  225.      */
  226.     private $service;
  227.     /**
  228.      * @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Newsletter", mappedBy="agency", cascade={"all"})
  229.      */
  230.     private $newsletter;
  231.     /**
  232.      * @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Cruiser", mappedBy="agency", cascade={"all"})
  233.      */
  234.     private $cruiser;
  235.     /**
  236.      * @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Subscription", mappedBy="agency", cascade={"all"})
  237.      */
  238.     private $subscription;
  239.     /**
  240.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PayoutExtraAgency", mappedBy="agency", cascade={"all"})
  241.      */
  242.     private $payoutExtraAgency;
  243.     /**
  244.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PointRedemptionAgency", mappedBy="agency", cascade={"all"})
  245.      */
  246.     private $pointRedemptionAgency;
  247.     /**
  248.      * @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign", mappedBy="agency", cascade={"all"})
  249.      */
  250.     private $specialDiscountCampaign;
  251.     /**
  252.      * @ORM\OneToMany(targetEntity="Aviatur\CruiserBundle\Entity\ConfigCruiserAgency", mappedBy="agency", cascade={"all"})
  253.      */
  254.     private $configCruiserAgency;
  255.     /**
  256.      * @var string
  257.      *
  258.      * @ORM\Column(name="assets_folder", type="string", length=500, nullable=false)
  259.      */
  260.     private $assetsFolder;
  261.     /**
  262.      * @var bool
  263.      *
  264.      * @ORM\Column(name="twigFlux", type="boolean", nullable=true)
  265.      */
  266.     protected $twigFlux;
  267.     /**
  268.      * @var \Customer
  269.      *
  270.      * @ORM\OneToOne(targetEntity="Aviatur\CustomerBundle\Entity\Customer", inversedBy="agency", cascade={"all"})
  271.      * @ORM\JoinColumns({
  272.      *   @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
  273.      * })
  274.      */
  275.     private $customer;
  276.     /**
  277.      * @ORM\OneToMany(targetEntity="Aviatur\AgentBundle\Entity\Agent", mappedBy="agency", cascade={"all"})
  278.      */
  279.     private $agent;
  280.     /**
  281.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AirlineOver", mappedBy="agency", cascade={"all"})
  282.      */
  283.     private $airlineOver;
  284.     /**
  285.      * @ORM\OneToMany(targetEntity="Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency", mappedBy="agency", cascade={"all"})
  286.      */
  287.     private $configHelicopterAgency;
  288.     /**
  289.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AdminFeeActivityLog", mappedBy="order", cascade={"all"})
  290.      */
  291.     private $adminFeeActivityLog;
  292.     /**
  293.      * @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog", mappedBy="agency", cascade={"all"})
  294.      */
  295.     private $configFlightAgencyActivityLog;
  296.     /**
  297.      * @var bool
  298.      *
  299.      * @ORM\Column(name="isActive", type="boolean", nullable=false)
  300.      */
  301.     private bool $isActive true;
  302.     /**
  303.      * @var Collection
  304.      *
  305.      * @ORM\OneToMany(targetEntity="Aviatur\AdminBundle\Entity\AdminUser", mappedBy="agency")
  306.      */
  307.     private Collection $adminUsers;
  308.     public function __toString()
  309.     {
  310.         $return $this->getName().'('.$this->getId().')';
  311.         return $return;
  312.     }
  313.     /**
  314.      * Constructor.
  315.      */
  316.     public function __construct()
  317.     {
  318.         $this->agencyPaymentConfig = new \Doctrine\Common\Collections\ArrayCollection();
  319.         $this->configCarAgency = new \Doctrine\Common\Collections\ArrayCollection();
  320.         $this->configFlightAgency = new \Doctrine\Common\Collections\ArrayCollection();
  321.         $this->configFlightCalendarAgency = new \Doctrine\Common\Collections\ArrayCollection();
  322.         $this->configHotelAgency = new \Doctrine\Common\Collections\ArrayCollection();
  323.         $this->configPackageAgency = new \Doctrine\Common\Collections\ArrayCollection();
  324.         $this->configInsuranceAgency = new \Doctrine\Common\Collections\ArrayCollection();
  325.         $this->configBusAgency = new \Doctrine\Common\Collections\ArrayCollection();
  326.         $this->content = new \Doctrine\Common\Collections\ArrayCollection();
  327.         $this->order = new \Doctrine\Common\Collections\ArrayCollection();
  328.         $this->homePromoList = new \Doctrine\Common\Collections\ArrayCollection();
  329.         $this->markup = new \Doctrine\Common\Collections\ArrayCollection();
  330.         $this->adminFee = new \Doctrine\Common\Collections\ArrayCollection();
  331.         $this->alerts = new \Doctrine\Common\Collections\ArrayCollection();
  332.         $this->userAgency = new \Doctrine\Common\Collections\ArrayCollection();
  333.         $this->parameter = new \Doctrine\Common\Collections\ArrayCollection();
  334.         $this->historicalInfo = new \Doctrine\Common\Collections\ArrayCollection();
  335.         $this->paymentMethodAgency = new \Doctrine\Common\Collections\ArrayCollection();
  336.         $this->promoSearchAgency = new \Doctrine\Common\Collections\ArrayCollection();
  337.         $this->pointRedemptionAgency = new \Doctrine\Common\Collections\ArrayCollection();
  338.         $this->metasearch = new \Doctrine\Common\Collections\ArrayCollection();
  339.         $this->whitemark = new \Doctrine\Common\Collections\ArrayCollection();
  340.         $this->urlHomologation = new \Doctrine\Common\Collections\ArrayCollection();
  341.         $this->seoHeader = new \Doctrine\Common\Collections\ArrayCollection();
  342.         $this->agent = new \Doctrine\Common\Collections\ArrayCollection();
  343.         $this->airlineOver = new \Doctrine\Common\Collections\ArrayCollection();
  344.         $this->service = new \Doctrine\Common\Collections\ArrayCollection();
  345.         $this->newsletter = new \Doctrine\Common\Collections\ArrayCollection();
  346.         $this->cruiser = new \Doctrine\Common\Collections\ArrayCollection();
  347.         $this->subscription = new \Doctrine\Common\Collections\ArrayCollection();
  348.         $this->payoutExtraAgency = new \Doctrine\Common\Collections\ArrayCollection();
  349.         $this->configCruiserAgency = new \Doctrine\Common\Collections\ArrayCollection();
  350.         $this->configHelicopterAgency = new \Doctrine\Common\Collections\ArrayCollection();
  351.         $this->adminFeeActivityLog = new \Doctrine\Common\Collections\ArrayCollection();
  352.         $this->socialmedia = new \Doctrine\Common\Collections\ArrayCollection();
  353.         $this->configFlightAgencyActivityLog = new \Doctrine\Common\Collections\ArrayCollection();
  354.     }
  355.     /**
  356.      * Get id.
  357.      *
  358.      * @return int
  359.      */
  360.     public function getId()
  361.     {
  362.         return $this->id;
  363.     }
  364.     /**
  365.      * Set name.
  366.      *
  367.      * @param string $name
  368.      *
  369.      * @return Agency
  370.      */
  371.     public function setName($name)
  372.     {
  373.         $this->name $name;
  374.         return $this;
  375.     }
  376.     /**
  377.      * Get name.
  378.      *
  379.      * @return string
  380.      */
  381.     public function getName()
  382.     {
  383.         return $this->name;
  384.     }
  385.     /**
  386.      * Set officeid.
  387.      *
  388.      * @param string $officeid
  389.      *
  390.      * @return Agency
  391.      */
  392.     public function setOfficeid($officeid)
  393.     {
  394.         $this->officeid $officeid;
  395.         return $this;
  396.     }
  397.     /**
  398.      * Get officeid.
  399.      *
  400.      * @return string
  401.      */
  402.     public function getOfficeid()
  403.     {
  404.         return $this->officeid;
  405.     }
  406.     /**
  407.      * Set externalid.
  408.      *
  409.      * @param string $externalid
  410.      *
  411.      * @return Agency
  412.      */
  413.     public function setExternalid($externalid)
  414.     {
  415.         $this->externalid $externalid;
  416.         return $this;
  417.     }
  418.     /**
  419.      * Get externalid.
  420.      *
  421.      * @return string
  422.      */
  423.     public function getExternalid()
  424.     {
  425.         return $this->externalid;
  426.     }
  427.     /**
  428.      * Set nit.
  429.      *
  430.      * @param string $nit
  431.      *
  432.      * @return Agency
  433.      */
  434.     public function setNit($nit)
  435.     {
  436.         $this->nit $nit;
  437.         return $this;
  438.     }
  439.     /**
  440.      * Get nit.
  441.      *
  442.      * @return string
  443.      */
  444.     public function getNit()
  445.     {
  446.         return $this->nit;
  447.     }
  448.     /**
  449.      * Set phone.
  450.      *
  451.      * @param string $phone
  452.      *
  453.      * @return Agency
  454.      */
  455.     public function setPhone($phone)
  456.     {
  457.         $this->phone $phone;
  458.         return $this;
  459.     }
  460.     /**
  461.      * Get phone.
  462.      *
  463.      * @return string
  464.      */
  465.     public function getPhone()
  466.     {
  467.         return $this->phone;
  468.     }
  469.     /**
  470.      * Set address.
  471.      *
  472.      * @param string $address
  473.      *
  474.      * @return Agency
  475.      */
  476.     public function setAddress($address)
  477.     {
  478.         $this->address $address;
  479.         return $this;
  480.     }
  481.     /**
  482.      * Get address.
  483.      *
  484.      * @return string
  485.      */
  486.     public function getAddress()
  487.     {
  488.         return $this->address;
  489.     }
  490.     /**
  491.      * Set mailcontact.
  492.      *
  493.      * @param string $mailcontact
  494.      *
  495.      * @return Agency
  496.      */
  497.     public function setMailcontact($mailcontact)
  498.     {
  499.         $this->mailcontact $mailcontact;
  500.         return $this;
  501.     }
  502.     /**
  503.      * Get mailcontact.
  504.      *
  505.      * @return string
  506.      */
  507.     public function getMailcontact()
  508.     {
  509.         return $this->mailcontact;
  510.     }
  511.     /**
  512.      * Set mailbooking.
  513.      *
  514.      * @param string $mailbooking
  515.      *
  516.      * @return Agency
  517.      */
  518.     public function setMailbooking($mailbooking)
  519.     {
  520.         $this->mailbooking $mailbooking;
  521.         return $this;
  522.     }
  523.     /**
  524.      * Get mailbooking.
  525.      *
  526.      * @return string
  527.      */
  528.     public function getMailbooking()
  529.     {
  530.         return $this->mailbooking;
  531.     }
  532.     /**
  533.      * Set mailoperations.
  534.      *
  535.      * @param string $mailoperations
  536.      *
  537.      * @return Agency
  538.      */
  539.     public function setMailoperations($mailoperations)
  540.     {
  541.         $this->mailoperations $mailoperations;
  542.         return $this;
  543.     }
  544.     /**
  545.      * Get mailoperations.
  546.      *
  547.      * @return string
  548.      */
  549.     public function getMailoperations()
  550.     {
  551.         return $this->mailoperations;
  552.     }
  553.     /**
  554.      * Set mailvouchers.
  555.      *
  556.      * @param string $mailvouchers
  557.      *
  558.      * @return Agency
  559.      */
  560.     public function setMailvouchers($mailvouchers)
  561.     {
  562.         $this->mailvouchers $mailvouchers;
  563.         return $this;
  564.     }
  565.     /**
  566.      * Get mailvouchers.
  567.      *
  568.      * @return string
  569.      */
  570.     public function getMailvouchers()
  571.     {
  572.         return $this->mailvouchers;
  573.     }
  574.     /**
  575.      * Set domain.
  576.      *
  577.      * @param string $domain
  578.      *
  579.      * @return Agency
  580.      */
  581.     public function setDomain($domain)
  582.     {
  583.         $this->domain $domain;
  584.         return $this;
  585.     }
  586.     /**
  587.      * Get domain.
  588.      *
  589.      * @return string
  590.      */
  591.     public function getDomain()
  592.     {
  593.         if (null == $this->customport || '443' == $this->customport) {
  594.             return $this->domain;
  595.         } else {
  596.             return $this->domain.$this->customport;
  597.         }
  598.     }
  599.     /**
  600.      * Set domainsecure.
  601.      *
  602.      * @param string $domainsecure
  603.      *
  604.      * @return Agency
  605.      */
  606.     public function setDomainsecure($domainsecure)
  607.     {
  608.         $this->domainsecure $domainsecure;
  609.         return $this;
  610.     }
  611.     /**
  612.      * Get domainsecure.
  613.      *
  614.      * @return string
  615.      */
  616.     public function getDomainsecure()
  617.     {
  618.         if (null == $this->customport || '443' == $this->customport) {
  619.             return $this->domainsecure;
  620.         } else {
  621.             return $this->domain.$this->customport;
  622.         }
  623.     }
  624.     /**
  625.      * Set domainold.
  626.      *
  627.      * @param string $domainold
  628.      *
  629.      * @return Agency
  630.      */
  631.     public function setDomainold($domainold)
  632.     {
  633.         $this->domainold $domainold;
  634.         return $this;
  635.     }
  636.     /**
  637.      * Get domainold.
  638.      *
  639.      * @return string
  640.      */
  641.     public function getDomainold()
  642.     {
  643.         return $this->domainold;
  644.     }
  645.     /**
  646.      * Set urlroute.
  647.      *
  648.      * @param string $urlroute
  649.      *
  650.      * @return Agency
  651.      */
  652.     public function setUrlroute($urlroute)
  653.     {
  654.         $this->urlroute $urlroute;
  655.         return $this;
  656.     }
  657.     /**
  658.      * Get urlroute.
  659.      *
  660.      * @return string
  661.      */
  662.     public function getUrlroute()
  663.     {
  664.         return $this->urlroute;
  665.     }
  666.     /**
  667.      * Set idclientfacebook.
  668.      *
  669.      * @param string $idclientfacebook
  670.      *
  671.      * @return Agency
  672.      */
  673.     public function setIdclientfacebook($idclientfacebook)
  674.     {
  675.         $this->idclientfacebook $idclientfacebook;
  676.         return $this;
  677.     }
  678.     /**
  679.      * Get idclientfacebook.
  680.      *
  681.      * @return string
  682.      */
  683.     public function getIdclientfacebook()
  684.     {
  685.         return $this->idclientfacebook;
  686.     }
  687.     /**
  688.      * Set idclientgoogle.
  689.      *
  690.      * @param string $idclientgoogle
  691.      *
  692.      * @return Agency
  693.      */
  694.     public function setIdclientgoogle($idclientgoogle)
  695.     {
  696.         $this->idclientgoogle $idclientgoogle;
  697.         return $this;
  698.     }
  699.     /**
  700.      * Get idclientgoogle.
  701.      *
  702.      * @return string
  703.      */
  704.     public function getIdclientgoogle()
  705.     {
  706.         return $this->idclientgoogle;
  707.     }
  708.     /**
  709.      * Set customport.
  710.      *
  711.      * @param string $customport
  712.      *
  713.      * @return Agency
  714.      */
  715.     public function setCustomport($customport)
  716.     {
  717.         $this->customport $customport;
  718.         return $this;
  719.     }
  720.     /**
  721.      * Get customport.
  722.      *
  723.      * @return string
  724.      */
  725.     public function getCustomport()
  726.     {
  727.         return $this->customport;
  728.     }
  729.     /**
  730.      * Set phonescontact.
  731.      *
  732.      * @param string $phonescontact
  733.      *
  734.      * @return Agency
  735.      */
  736.     public function setPhonescontact($phonescontact)
  737.     {
  738.         $this->phonescontact $phonescontact;
  739.         return $this;
  740.     }
  741.     /**
  742.      * Get phonescontact.
  743.      *
  744.      * @return string
  745.      */
  746.     public function getPhonescontact()
  747.     {
  748.         return $this->phonescontact;
  749.     }
  750.     /**
  751.      * Get socialmedia.
  752.      *
  753.      * @return string
  754.      */
  755.     public function getSocialmedia()
  756.     {
  757.        return $this->socialmedia;
  758.     }
  759.     /**
  760.      * Set socialmedia.
  761.      *
  762.      * @param string $socialmedia
  763.      *
  764.      * @return Agency
  765.      */
  766.     public function setSocialmedia($socialmedia)
  767.     {
  768.         $this->socialmedia $socialmedia;
  769.         return $this;
  770.     }
  771.     /**
  772.      * Add agencyPaymentConfig.
  773.      *
  774.      * @return Agency
  775.      */
  776.     public function addAgencyPaymentConfig(\Aviatur\GeneralBundle\Entity\AgencyPaymentConfig $agencyPaymentConfig)
  777.     {
  778.         $this->agencyPaymentConfig[] = $agencyPaymentConfig;
  779.         return $this;
  780.     }
  781.     /**
  782.      * Remove agencyPaymentConfig.
  783.      */
  784.     public function removeAgencyPaymentConfig(\Aviatur\GeneralBundle\Entity\AgencyPaymentConfig $agencyPaymentConfig)
  785.     {
  786.         $this->agencyPaymentConfig->removeElement($agencyPaymentConfig);
  787.     }
  788.     /**
  789.      * Get agencyPaymentConfig.
  790.      *
  791.      * @return \Doctrine\Common\Collections\Collection
  792.      */
  793.     public function getAgencyPaymentConfig()
  794.     {
  795.         return $this->agencyPaymentConfig;
  796.     }
  797.     /**
  798.      * Add configCarAgency.
  799.      *
  800.      * @return Agency
  801.      */
  802.     public function addConfigCarAgency(\Aviatur\CarBundle\Entity\ConfigCarAgency $configCarAgency)
  803.     {
  804.         $this->configCarAgency[] = $configCarAgency;
  805.         return $this;
  806.     }
  807.     /**
  808.      * Remove configCarAgency.
  809.      */
  810.     public function removeConfigCarAgency(\Aviatur\CarBundle\Entity\ConfigCarAgency $configCarAgency)
  811.     {
  812.         $this->configCarAgency->removeElement($configCarAgency);
  813.     }
  814.     /**
  815.      * Get configCarAgency.
  816.      *
  817.      * @return \Doctrine\Common\Collections\Collection
  818.      */
  819.     public function getConfigCarAgency()
  820.     {
  821.         return $this->configCarAgency;
  822.     }
  823.     /**
  824.      * Add configFlightAgency.
  825.      *
  826.      * @return Agency
  827.      */
  828.     public function addConfigFlightAgency(\Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightAgency)
  829.     {
  830.         $this->configFlightAgency[] = $configFlightAgency;
  831.         return $this;
  832.     }
  833.     /**
  834.      * Remove configFlightAgency.
  835.      */
  836.     public function removeConfigFlightAgency(\Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightAgency)
  837.     {
  838.         $this->configFlightAgency->removeElement($configFlightAgency);
  839.     }
  840.     /**
  841.      * Get configFlightAgency.
  842.      *
  843.      * @return \Doctrine\Common\Collections\Collection
  844.      */
  845.     public function getConfigFlightAgency()
  846.     {
  847.         return $this->configFlightAgency;
  848.     }
  849.     /**
  850.      * Add configFlightCalendarAgency.
  851.      *
  852.      * @param \Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightCalendarAgency
  853.      *
  854.      * @return Agency
  855.      */
  856.     public function addConfigFlightCalendarAgency(\Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency $configFlightCalendarAgency)
  857.     {
  858.         $this->configFlightCalendarAgency[] = $configFlightCalendarAgency;
  859.         return $this;
  860.     }
  861.     /**
  862.      * Remove configFlightCalendarAgency.
  863.      */
  864.     public function removeConfigFlightCalendarAgency(\Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency $configFlightCalendarAgency)
  865.     {
  866.         $this->configFlightCalendarAgency->removeElement($configFlightCalendarAgency);
  867.     }
  868.     /**
  869.      * Get configFlightCalendarAgency.
  870.      *
  871.      * @return \Doctrine\Common\Collections\Collection
  872.      */
  873.     public function getConfigFlightCalendarAgency()
  874.     {
  875.         return $this->configFlightCalendarAgency;
  876.     }
  877.     /**
  878.      * Add configHotelAgency.
  879.      *
  880.      * @return Agency
  881.      */
  882.     public function addConfigHotelAgency(\Aviatur\HotelBundle\Entity\ConfigHotelAgency $configHotelAgency)
  883.     {
  884.         $this->configHotelAgency[] = $configHotelAgency;
  885.         return $this;
  886.     }
  887.     /**
  888.      * Remove configHotelAgency.
  889.      */
  890.     public function removeConfigHotelAgency(\Aviatur\HotelBundle\Entity\ConfigHotelAgency $configHotelAgency)
  891.     {
  892.         $this->configHotelAgency->removeElement($configHotelAgency);
  893.     }
  894.     /**
  895.      * Get configHotelAgency.
  896.      *
  897.      * @return \Doctrine\Common\Collections\Collection
  898.      */
  899.     public function getConfigHotelAgency()
  900.     {
  901.         return $this->configHotelAgency;
  902.     }
  903.     /**
  904.      * Add configPackageAgency.
  905.      *
  906.      * @return Agency
  907.      */
  908.     public function addConfigPackageAgency(\Aviatur\PackageBundle\Entity\ConfigPackageAgency $configPackageAgency)
  909.     {
  910.         $this->configPackageAgency[] = $configPackageAgency;
  911.         return $this;
  912.     }
  913.     /**
  914.      * Remove configPackageAgency.
  915.      */
  916.     public function removeConfigPackageAgency(\Aviatur\PackageBundle\Entity\ConfigPackageAgency $configPackageAgency)
  917.     {
  918.         $this->configPackageAgency->removeElement($configPackageAgency);
  919.     }
  920.     /**
  921.      * Get configPackageAgency.
  922.      *
  923.      * @return \Doctrine\Common\Collections\Collection
  924.      */
  925.     public function getConfigPackageAgency()
  926.     {
  927.         return $this->configPackageAgency;
  928.     }
  929.     /**
  930.      * Add configInsuranceAgency.
  931.      *
  932.      * @return Agency
  933.      */
  934.     public function addConfigInsuranceAgency(\Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency $configInsuranceAgency)
  935.     {
  936.         $this->configInsuranceAgency[] = $configInsuranceAgency;
  937.         return $this;
  938.     }
  939.     /**
  940.      * Remove configInsuranceAgency.
  941.      */
  942.     public function removeConfigInsuranceAgency(\Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency $configInsuranceAgency)
  943.     {
  944.         $this->configInsuranceAgency->removeElement($configInsuranceAgency);
  945.     }
  946.     /**
  947.      * Get configInsuranceAgency.
  948.      *
  949.      * @return \Doctrine\Common\Collections\Collection
  950.      */
  951.     public function getConfigInsuranceAgency()
  952.     {
  953.         return $this->configInsuranceAgency;
  954.     }
  955.     /**
  956.      * Add configBusAgency.
  957.      *
  958.      * @return Agency
  959.      */
  960.     public function addConfigBusAgency(\Aviatur\BusBundle\Entity\ConfigBusAgency $configBusAgency)
  961.     {
  962.         $this->configBusAgency[] = $configBusAgency;
  963.         return $this;
  964.     }
  965.     /**
  966.      * Remove configBusAgency.
  967.      */
  968.     public function removeConfigBusAgency(\Aviatur\BusBundle\Entity\ConfigBusAgency $configBusAgency)
  969.     {
  970.         $this->configBusAgency->removeElement($configBusAgency);
  971.     }
  972.     /**
  973.      * Get configBusAgency.
  974.      *
  975.      * @return \Doctrine\Common\Collections\Collection
  976.      */
  977.     public function getConfigBusAgency()
  978.     {
  979.         return $this->configBusAgency;
  980.     }
  981.     /**
  982.      * Add content.
  983.      *
  984.      * @return Agency
  985.      */
  986.     public function addContent(\Aviatur\ContentBundle\Entity\Content $content)
  987.     {
  988.         $this->content[] = $content;
  989.         return $this;
  990.     }
  991.     /**
  992.      * Remove content.
  993.      */
  994.     public function removeContent(\Aviatur\ContentBundle\Entity\Content $content)
  995.     {
  996.         $this->content->removeElement($content);
  997.     }
  998.     /**
  999.      * Get content.
  1000.      *
  1001.      * @return \Doctrine\Common\Collections\Collection
  1002.      */
  1003.     public function getContent()
  1004.     {
  1005.         return $this->content;
  1006.     }
  1007.     /**
  1008.      * Add order.
  1009.      *
  1010.      * @return Agency
  1011.      */
  1012.     public function addOrder(\Aviatur\GeneralBundle\Entity\Order $order)
  1013.     {
  1014.         $this->order[] = $order;
  1015.         return $this;
  1016.     }
  1017.     /**
  1018.      * Remove order.
  1019.      */
  1020.     public function removeOrder(\Aviatur\GeneralBundle\Entity\Order $order)
  1021.     {
  1022.         $this->order->removeElement($order);
  1023.     }
  1024.     /**
  1025.      * Get order.
  1026.      *
  1027.      * @return \Doctrine\Common\Collections\Collection
  1028.      */
  1029.     public function getOrder()
  1030.     {
  1031.         return $this->order;
  1032.     }
  1033.     /**
  1034.      * Add homePromoList.
  1035.      *
  1036.      * @param \Aviatur\EditionBundle\Entity\HomePromoList $homePromoList
  1037.      *
  1038.      * @return Agency
  1039.      */
  1040.     public function addHomePromoList(\Aviatur\GeneralBundle\Entity\Order $homePromoList)
  1041.     {
  1042.         $this->homePromoList[] = $homePromoList;
  1043.         return $this;
  1044.     }
  1045.     /**
  1046.      * Remove homePromoList.
  1047.      *
  1048.      * @param \Aviatur\EditionBundle\Entity\HomePromoList $homePromoList
  1049.      */
  1050.     public function removeHomePromoList(\Aviatur\GeneralBundle\Entity\Order $homePromoList)
  1051.     {
  1052.         $this->homePromoList->removeElement($homePromoList);
  1053.     }
  1054.     /**
  1055.      * Get homePromoList.
  1056.      *
  1057.      * @return \Doctrine\Common\Collections\Collection
  1058.      */
  1059.     public function getHomePromoList()
  1060.     {
  1061.         return $this->homePromoList;
  1062.     }
  1063.     /**
  1064.      * Add alerts.
  1065.      *
  1066.      * @param \Aviatur\GeneralBundle\Entity\UserAgency $alerts
  1067.      *
  1068.      * @return Agency
  1069.      */
  1070.     public function addAlerts(\Aviatur\GeneralBundle\Entity\Alerts $alerts)
  1071.     {
  1072.         $this->alerts[] = $alerts;
  1073.         return $this;
  1074.     }
  1075.     /**
  1076.      * Remove alerts.
  1077.      */
  1078.     public function removeAlerts(\Aviatur\GeneralBundle\Entity\Alerts $alerts)
  1079.     {
  1080.         $this->alerts->removeElement($alerts);
  1081.     }
  1082.     /**
  1083.      * Get alerts.
  1084.      *
  1085.      * @return \Doctrine\Common\Collections\Collection
  1086.      */
  1087.     public function getAlerts()
  1088.     {
  1089.         return $this->alerts;
  1090.     }
  1091.     /**
  1092.      * Add userAgency.
  1093.      *
  1094.      * @return Agency
  1095.      */
  1096.     public function addUserAgency(\Aviatur\GeneralBundle\Entity\UserAgency $userAgency)
  1097.     {
  1098.         $this->userAgency[] = $userAgency;
  1099.         return $this;
  1100.     }
  1101.     /**
  1102.      * Remove userAgency.
  1103.      */
  1104.     public function removeUserAgency(\Aviatur\GeneralBundle\Entity\UserAgency $userAgency)
  1105.     {
  1106.         $this->userAgency->removeElement($userAgency);
  1107.     }
  1108.     /**
  1109.      * Get userAgency.
  1110.      *
  1111.      * @return \Doctrine\Common\Collections\Collection
  1112.      */
  1113.     public function getUserAgency()
  1114.     {
  1115.         return $this->userAgency;
  1116.     }
  1117.     /**
  1118.      * Add parameter.
  1119.      *
  1120.      * @return Agency
  1121.      */
  1122.     public function addParameter(\Aviatur\GeneralBundle\Entity\Parameter $parameter)
  1123.     {
  1124.         $this->parameter[] = $parameter;
  1125.         return $this;
  1126.     }
  1127.     /**
  1128.      * Remove parameter.
  1129.      */
  1130.     public function removeParameter(\Aviatur\GeneralBundle\Entity\Parameter $parameter)
  1131.     {
  1132.         $this->parameter->removeElement($parameter);
  1133.     }
  1134.     /**
  1135.      * Get parameter.
  1136.      *
  1137.      * @return \Doctrine\Common\Collections\Collection
  1138.      */
  1139.     public function getParameter()
  1140.     {
  1141.         return $this->parameter;
  1142.     }
  1143.     /**
  1144.      * Add historicalInfo.
  1145.      *
  1146.      * @return Agency
  1147.      */
  1148.     public function addHistoricalInfo(\Aviatur\GeneralBundle\Entity\HistoricalInfo $historicalInfo)
  1149.     {
  1150.         $this->historicalInfo[] = $historicalInfo;
  1151.         return $this;
  1152.     }
  1153.     /**
  1154.      * Remove historicalInfo.
  1155.      */
  1156.     public function removeHistoricalInfo(\Aviatur\GeneralBundle\Entity\HistoricalInfo $historicalInfo)
  1157.     {
  1158.         $this->historicalInfo->removeElement($historicalInfo);
  1159.     }
  1160.     /**
  1161.      * Get historicalInfo.
  1162.      *
  1163.      * @return \Doctrine\Common\Collections\Collection
  1164.      */
  1165.     public function getHistoricalInfo()
  1166.     {
  1167.         return $this->historicalInfo;
  1168.     }
  1169.     /**
  1170.      * Add metaSearch.
  1171.      *
  1172.      * @return metaSearch
  1173.      */
  1174.     public function addmetaSearch(\Aviatur\GeneralBundle\Entity\Metasearch $metaSearch)
  1175.     {
  1176.         $this->metaSearch[] = $metaSearch;
  1177.         return $this;
  1178.     }
  1179.     /**
  1180.      * Remove metaSearch.
  1181.      */
  1182.     public function removemetaSearch(\Aviatur\GeneralBundle\Entity\Metasearch $metaSearch)
  1183.     {
  1184.         $this->metaSearch->removeElement($metaSearch);
  1185.     }
  1186.     /**
  1187.      * Get metaSearch.
  1188.      *
  1189.      * @return \Doctrine\Common\Collections\Collection
  1190.      */
  1191.     public function getmetaSearch()
  1192.     {
  1193.         return $this->metaSearch;
  1194.     }
  1195.     /**
  1196.      * Add paymentMethodAgency.
  1197.      *
  1198.      * @return Agency
  1199.      */
  1200.     public function addPaymentMethodAgency(\Aviatur\GeneralBundle\Entity\PaymentMethodAgency $paymentMethodAgency)
  1201.     {
  1202.         $this->paymentMethodAgency[] = $paymentMethodAgency;
  1203.         return $this;
  1204.     }
  1205.     /**
  1206.      * Remove paymentMethodAgency.
  1207.      */
  1208.     public function removePaymentMethodAgency(\Aviatur\GeneralBundle\Entity\PaymentMethodAgency $paymentMethodAgency)
  1209.     {
  1210.         $this->paymentMethodAgency->removeElement($paymentMethodAgency);
  1211.     }
  1212.     /**
  1213.      * Get paymentMethodAgency.
  1214.      *
  1215.      * @return \Doctrine\Common\Collections\Collection
  1216.      */
  1217.     public function getPaymentMethodAgency()
  1218.     {
  1219.         return $this->paymentMethodAgency;
  1220.     }
  1221.     /**
  1222.      * Add promoSearchAgency.
  1223.      *
  1224.      * @return Agency
  1225.      */
  1226.     public function addPromoSearchAgency(\Aviatur\GeneralBundle\Entity\PromoSearchAgency $promoSearchAgency)
  1227.     {
  1228.         $this->promoSearchAgency[] = $promoSearchAgency;
  1229.         return $this;
  1230.     }
  1231.     /**
  1232.      * Remove promoSearchAgency.
  1233.      */
  1234.     public function removePromoSearchAgency(\Aviatur\GeneralBundle\Entity\PromoSearchAgency $promoSearchAgency)
  1235.     {
  1236.         $this->promoSearchAgency->removeElement($promoSearchAgency);
  1237.     }
  1238.     /**
  1239.      * Get promoSearchAgency.
  1240.      *
  1241.      * @return \Doctrine\Common\Collections\Collection
  1242.      */
  1243.     public function getPromoSearchAgency()
  1244.     {
  1245.         return $this->promoSearchAgency;
  1246.     }
  1247.     /**
  1248.      * Add adminFee.
  1249.      *
  1250.      * @return Agency
  1251.      */
  1252.     public function addAdminFee(\Aviatur\FlightBundle\Entity\AdminFee $adminFee)
  1253.     {
  1254.         $this->adminFee[] = $adminFee;
  1255.         return $this;
  1256.     }
  1257.     /**
  1258.      * Remove adminFee.
  1259.      */
  1260.     public function removeAdminFee(\Aviatur\FlightBundle\Entity\AdminFee $adminFee)
  1261.     {
  1262.         $this->adminFee->removeElement($adminFee);
  1263.     }
  1264.     /**
  1265.      * Get adminFee.
  1266.      *
  1267.      * @return \Doctrine\Common\Collections\Collection
  1268.      */
  1269.     public function getAdminFee()
  1270.     {
  1271.         return $this->adminFee;
  1272.     }
  1273.     /**
  1274.      * Add whitemark.
  1275.      *
  1276.      * @return Agency
  1277.      */
  1278.     public function addWhitemark(\Aviatur\GeneralBundle\Entity\Whitemark $whitemark)
  1279.     {
  1280.         $this->whitemark[] = $whitemark;
  1281.         return $this;
  1282.     }
  1283.     /**
  1284.      * Remove whitemark.
  1285.      */
  1286.     public function removeWhitemark(\Aviatur\GeneralBundle\Entity\Whitemark $whitemark)
  1287.     {
  1288.         $this->whitemark->removeElement($whitemark);
  1289.     }
  1290.     /**
  1291.      * Get whitemark.
  1292.      *
  1293.      * @return \Doctrine\Common\Collections\Collection
  1294.      */
  1295.     public function getWhitemark()
  1296.     {
  1297.         return $this->whitemark;
  1298.     }
  1299.     /**
  1300.      * Add urlHomologation.
  1301.      *
  1302.      * @return Agency
  1303.      */
  1304.     public function addUrlHomologation(\Aviatur\GeneralBundle\Entity\UrlHomologation $urlHomologation)
  1305.     {
  1306.         $this->urlHomologation[] = $urlHomologation;
  1307.         return $this;
  1308.     }
  1309.     /**
  1310.      * Remove urlHomologation.
  1311.      */
  1312.     public function removeUrlHomologation(\Aviatur\GeneralBundle\Entity\UrlHomologation $urlHomologation)
  1313.     {
  1314.         $this->urlHomologation->removeElement($urlHomologation);
  1315.     }
  1316.     /**
  1317.      * Get urlHomologation.
  1318.      *
  1319.      * @return \Doctrine\Common\Collections\Collection
  1320.      */
  1321.     public function getUrlHomologation()
  1322.     {
  1323.         return $this->urlHomologation;
  1324.     }
  1325.     /**
  1326.      * Add seoHeader.
  1327.      *
  1328.      * @return Agency
  1329.      */
  1330.     public function addSeoHeader(\Aviatur\GeneralBundle\Entity\SeoHeader $seoHeader)
  1331.     {
  1332.         $this->seoHeader[] = $seoHeader;
  1333.         return $this;
  1334.     }
  1335.     /**
  1336.      * Remove seoHeader.
  1337.      */
  1338.     public function removeSeoHeader(\Aviatur\GeneralBundle\Entity\SeoHeader $seoHeader)
  1339.     {
  1340.         $this->seoHeader->removeElement($seoHeader);
  1341.     }
  1342.     /**
  1343.      * Add service.
  1344.      *
  1345.      * @return Agency
  1346.      */
  1347.     public function addService(\Aviatur\FormBundle\Entity\Service $service)
  1348.     {
  1349.         $this->service[] = $service;
  1350.         return $this;
  1351.     }
  1352.     /**
  1353.      * Remove service.
  1354.      */
  1355.     public function removeService(\Aviatur\FormBundle\Entity\Service $service)
  1356.     {
  1357.         $this->service->removeElement($service);
  1358.     }
  1359.     /**
  1360.      * Get service.
  1361.      *
  1362.      * @return \Doctrine\Common\Collections\Collection
  1363.      */
  1364.     public function getService()
  1365.     {
  1366.         return $this->service;
  1367.     }
  1368.     /**
  1369.      * Add newsletter.
  1370.      *
  1371.      * @return Agency
  1372.      */
  1373.     public function addNewsletter(\Aviatur\FormBundle\Entity\Newsletter $newsletter)
  1374.     {
  1375.         $this->newsletter[] = $newsletter;
  1376.         return $this;
  1377.     }
  1378.     /**
  1379.      * Remove newsletter.
  1380.      */
  1381.     public function removeNewsletter(\Aviatur\FormBundle\Entity\Newsletter $newsletter)
  1382.     {
  1383.         $this->newsletter->removeElement($newsletter);
  1384.     }
  1385.     /**
  1386.      * Get newsletter.
  1387.      *
  1388.      * @return \Doctrine\Common\Collections\Collection
  1389.      */
  1390.     public function getNewsletter()
  1391.     {
  1392.         return $this->newsletter;
  1393.     }
  1394.     /**
  1395.      * Add cruiser.
  1396.      *
  1397.      * @return Agency
  1398.      */
  1399.     public function addCruiser(\Aviatur\FormBundle\Entity\Cruiser $cruiser)
  1400.     {
  1401.         $this->cruiser[] = $cruiser;
  1402.         return $this;
  1403.     }
  1404.     /**
  1405.      * Remove cruiser.
  1406.      */
  1407.     public function removeCruiser(\Aviatur\FormBundle\Entity\Cruiser $cruiser)
  1408.     {
  1409.         $this->cruiser->removeElement($cruiser);
  1410.     }
  1411.     /**
  1412.      * Get cruiser.
  1413.      *
  1414.      * @return \Doctrine\Common\Collections\Collection
  1415.      */
  1416.     public function getCruiser()
  1417.     {
  1418.         return $this->cruiser;
  1419.     }
  1420.     /**
  1421.      * Add subscription.
  1422.      *
  1423.      * @return Agency
  1424.      */
  1425.     public function addSubscription(\Aviatur\FormBundle\Entity\Subscription $subscription)
  1426.     {
  1427.         $this->subscription[] = $subscription;
  1428.         return $this;
  1429.     }
  1430.     /**
  1431.      * Remove subscription.
  1432.      *
  1433.      * @param \Aviatur\FormBundle\Entity\Subscription $subscription
  1434.      */
  1435.     public function removeSubscription(\Aviatur\FormBundle\Entity\Cruiser $subscription)
  1436.     {
  1437.         $this->subscription->removeElement($subscription);
  1438.     }
  1439.     /**
  1440.      * get specialDiscountCampaign.
  1441.      *
  1442.      * @return Agency
  1443.      */
  1444.     public function getSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
  1445.     {
  1446.         return $this->specialDiscountCampaign $specialDiscountCampaign;
  1447.     }
  1448.     /**
  1449.      * Get subscription.
  1450.      *
  1451.      * @return \Doctrine\Common\Collections\Collection
  1452.      */
  1453.     public function getSubscription()
  1454.     {
  1455.         return $this->subscription;
  1456.     }
  1457.     /**
  1458.      * Add payoutExtraAgency.
  1459.      *
  1460.      * @return Agency
  1461.      */
  1462.     public function addPayoutExtraAgency(\Aviatur\GeneralBundle\Entity\PayoutExtraAgency $payoutExtraAgency)
  1463.     {
  1464.         $this->payoutExtraAgency[] = $payoutExtraAgency;
  1465.         return $this;
  1466.     }
  1467.     /**
  1468.      * Remove payoutExtraAgency.
  1469.      */
  1470.     public function removePayoutExtraAgency(\Aviatur\GeneralBundle\Entity\PayoutExtraAgency $payoutExtraAgency)
  1471.     {
  1472.         $this->payoutExtraAgency->removeElement($payoutExtraAgency);
  1473.     }
  1474.     /**
  1475.      * Get payoutExtraAgency.
  1476.      *
  1477.      * @return \Doctrine\Common\Collections\Collection
  1478.      */
  1479.     public function getPayoutExtraAgency()
  1480.     {
  1481.         return $this->payoutExtraAgency;
  1482.     }
  1483.     /**
  1484.      * Add pointRedemptionAgency.
  1485.      *
  1486.      * @return Agency
  1487.      */
  1488.     public function addPointRedemptionAgency(\Aviatur\GeneralBundle\Entity\PointRedemptionAgency $pointRedemptionAgency)
  1489.     {
  1490.         $this->pointRedemptionAgency[] = $pointRedemptionAgency;
  1491.         return $this;
  1492.     }
  1493.     /**
  1494.      * Remove pointRedemptionAgency.
  1495.      */
  1496.     public function removePointRedemptionAgency(\Aviatur\GeneralBundle\Entity\PointRedemptionAgency $pointRedemptionAgency)
  1497.     {
  1498.         $this->pointRedemptionAgency->removeElement($pointRedemptionAgency);
  1499.     }
  1500.     /**
  1501.      * Get pointRedemptionAgency.
  1502.      *
  1503.      * @return \Doctrine\Common\Collections\Collection
  1504.      */
  1505.     public function getPointRedemptionAgency()
  1506.     {
  1507.         return $this->pointRedemptionAgency;
  1508.     }
  1509.     /**
  1510.      * Add configCruiserAgency.
  1511.      *
  1512.      * @return Agency
  1513.      */
  1514.     public function addConfigCruiserAgency(\Aviatur\CruiserBundle\Entity\ConfigCruiserAgency $configCruiserAgency)
  1515.     {
  1516.         $this->configCruiserAgency[] = $configCruiserAgency;
  1517.         return $this;
  1518.     }
  1519.     /**
  1520.      * Remove configCruiserAgency.
  1521.      */
  1522.     public function removeConfigCruiserAgency(\Aviatur\CruiserBundle\Entity\ConfigCruiserAgency $configCruiserAgency)
  1523.     {
  1524.         $this->configCruiserAgency->removeElement($configCruiserAgency);
  1525.     }
  1526.     /**
  1527.      * Get configCruiserAgency.
  1528.      *
  1529.      * @return \Doctrine\Common\Collections\Collection
  1530.      */
  1531.     public function getConfigCruiserAgency()
  1532.     {
  1533.         return $this->configCruiserAgency;
  1534.     }
  1535.     /**
  1536.      * Set assetsFolder.
  1537.      *
  1538.      * @param string $assetsFolder
  1539.      *
  1540.      * @return Agency
  1541.      */
  1542.     public function setAssetsFolder($assetsFolder)
  1543.     {
  1544.         $this->assetsFolder $assetsFolder;
  1545.         return $this;
  1546.     }
  1547.     /**
  1548.      * Get assetsFolder.
  1549.      *
  1550.      * @return string
  1551.      */
  1552.     public function getAssetsFolder()
  1553.     {
  1554.         return $this->assetsFolder;
  1555.     }
  1556.     /**
  1557.      * Set twigFlux.
  1558.      *
  1559.      * @param bool $twigFlux
  1560.      *
  1561.      * @return Agency
  1562.      */
  1563.     public function setTwigFlux($twigFlux)
  1564.     {
  1565.         $this->twigFlux $twigFlux;
  1566.         return $this;
  1567.     }
  1568.     /**
  1569.      * Get twigFlux.
  1570.      *
  1571.      * @return bool
  1572.      */
  1573.     public function getTwigFlux()
  1574.     {
  1575.         return $this->twigFlux;
  1576.     }
  1577.     /**
  1578.      * Set customer.
  1579.      *
  1580.      * @param \Aviatur\CustomerBundle\Entity\Customer $customer
  1581.      *
  1582.      * @return Customer
  1583.      */
  1584.     public function setCustomer(\Aviatur\CustomerBundle\Entity\Customer $customer null)
  1585.     {
  1586.         $this->customer $customer;
  1587.         return $this;
  1588.     }
  1589.     /**
  1590.      * Get customer.
  1591.      *
  1592.      * @return \Aviatur\CustomerBundle\Entity\Customer
  1593.      */
  1594.     public function getCustomer()
  1595.     {
  1596.         return $this->customer;
  1597.     }
  1598.     /**
  1599.      * Add configHelicopterAgency.
  1600.      *
  1601.      * @return Agency
  1602.      */
  1603.     public function addConfigHelicopterAgency(\Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency $configHelicopterAgency)
  1604.     {
  1605.         $this->configHelicopterAgency[] = $configHelicopterAgency;
  1606.         return $this;
  1607.     }
  1608.     /**
  1609.      * Remove configHelicopterAgency.
  1610.      */
  1611.     public function removeConfigHelicopterAgency(\Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency $configHelicopterAgency)
  1612.     {
  1613.         $this->configHelicopterAgency->removeElement($configHelicopterAgency);
  1614.     }
  1615.     /**
  1616.      * Get configHelicopterAgency.
  1617.      *
  1618.      * @return \Doctrine\Common\Collections\Collection
  1619.      */
  1620.     public function getConfigHelicopterAgency()
  1621.     {
  1622.         return $this->configHelicopterAgency;
  1623.     }
  1624.     /**
  1625.      * Add alert.
  1626.      *
  1627.      * @return Agency
  1628.      */
  1629.     public function addAlert(\Aviatur\GeneralBundle\Entity\Alerts $alert)
  1630.     {
  1631.         $this->alerts[] = $alert;
  1632.         return $this;
  1633.     }
  1634.     /**
  1635.      * Remove alert.
  1636.      */
  1637.     public function removeAlert(\Aviatur\GeneralBundle\Entity\Alerts $alert)
  1638.     {
  1639.         $this->alerts->removeElement($alert);
  1640.     }
  1641.     /**
  1642.      * Get seoHeader.
  1643.      *
  1644.      * @return \Doctrine\Common\Collections\Collection
  1645.      */
  1646.     public function getSeoHeader()
  1647.     {
  1648.         return $this->seoHeader;
  1649.     }
  1650.     /**
  1651.      * Add specialDiscountCampaign.
  1652.      *
  1653.      * @return Agency
  1654.      */
  1655.     public function addSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
  1656.     {
  1657.         $this->specialDiscountCampaign[] = $specialDiscountCampaign;
  1658.         return $this;
  1659.     }
  1660.     /**
  1661.      * Remove specialDiscountCampaign.
  1662.      */
  1663.     public function removeSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
  1664.     {
  1665.         $this->specialDiscountCampaign->removeElement($specialDiscountCampaign);
  1666.     }
  1667.     /**
  1668.      * Add agent.
  1669.      *
  1670.      * @return Agency
  1671.      */
  1672.     public function addAgent(\Aviatur\AgentBundle\Entity\Agent $agent)
  1673.     {
  1674.         $this->agent[] = $agent;
  1675.         return $this;
  1676.     }
  1677.     /**
  1678.      * Remove agent.
  1679.      */
  1680.     public function removeAgent(\Aviatur\AgentBundle\Entity\Agent $agent)
  1681.     {
  1682.         $this->agent->removeElement($agent);
  1683.     }
  1684.     /**
  1685.      * Get agent.
  1686.      *
  1687.      * @return \Doctrine\Common\Collections\Collection
  1688.      */
  1689.     public function getAgent()
  1690.     {
  1691.         return $this->agent;
  1692.     }
  1693.     /**
  1694.      * Add airlineOver.
  1695.      *
  1696.      * @return Agency
  1697.      */
  1698.     public function addAirlineOver(\Aviatur\FlightBundle\Entity\AirlineOver $airlineOver)
  1699.     {
  1700.         $this->airlineOver[] = $airlineOver;
  1701.         return $this;
  1702.     }
  1703.     /**
  1704.      * Remove airlineOver.
  1705.      *
  1706.      * @param \Aviatur\FlightBundle\Entity\Airline $airlineOver
  1707.      */
  1708.     public function removeAirlineOver(\Aviatur\FlightBundle\Entity\AirlineOver $airlineOver)
  1709.     {
  1710.         $this->airlineOver->removeElement($airlineOver);
  1711.     }
  1712.     /**
  1713.      * Get airlineOver.
  1714.      *
  1715.      * @return \Doctrine\Common\Collections\Collection
  1716.      */
  1717.     public function getAirlineOver()
  1718.     {
  1719.         return $this->airlineOver;
  1720.     }
  1721.     /**
  1722.      * Add adminFeeActivityLog.
  1723.      *
  1724.      * @return AdminFeeActivityLog
  1725.      */
  1726.     public function addAdminFeeActivityLog(\Aviatur\FlightBundle\Entity\AdminFeeActivityLog $adminFeeActivityLog)
  1727.     {
  1728.         $this->adminFeeActivityLog[] = $adminFeeActivityLog;
  1729.         return $this;
  1730.     }
  1731.     /**
  1732.      * Remove AdminFeeActivityLog.
  1733.      */
  1734.     public function removeAdminFeeActivityLog(\Aviatur\FlightBundle\Entity\AdminFeeActivityLog $adminFeeActivityLog)
  1735.     {
  1736.         $this->adminFeeActivityLog->removeElement($adminFeeActivityLog);
  1737.     }
  1738.     /**
  1739.      * Get AdminFeeActivityLog.
  1740.      *
  1741.      * @return \Doctrine\Common\Collections\Collection
  1742.      */
  1743.     public function getAdminFeeActivityLog()
  1744.     {
  1745.         return $this->adminFeeActivityLog;
  1746.     }
  1747.     /**
  1748.      * Add ConfigFlightAgencyActivityLog.
  1749.      *
  1750.      * @return ConfigFlightAgencyActivityLog
  1751.      */
  1752.     public function addConfigFlightAgencyActivityLog(\Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog $configFlightAgencyActivityLog)
  1753.     {
  1754.         $this->configFlightAgencyActivityLog[] = $configFlightAgencyActivityLog;
  1755.         return $this;
  1756.     }
  1757.     /**
  1758.      * Remove ConfigFlightAgencyActivityLog.
  1759.      */
  1760.     public function removeConfigFlightAgencyActivityLog(\Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog $configFlightAgencyActivityLog)
  1761.     {
  1762.         $this->configFlightAgencyActivityLog->removeElement($configFlightAgencyActivityLog);
  1763.     }
  1764.     /**
  1765.      * Get ConfigFlightAgencyActivityLog.
  1766.      *
  1767.      * @return \Doctrine\Common\Collections\Collection
  1768.      */
  1769.     public function getConfigFlightAgencyActivityLog()
  1770.     {
  1771.         return $this->configFlightAgencyActivityLog;
  1772.     }
  1773.     public function isActive(): bool
  1774.     {
  1775.         return $this->isActive;
  1776.     }
  1777.     public function setIsActive(bool $isActive): void
  1778.     {
  1779.         $this->isActive $isActive;
  1780.     }
  1781. }