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

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