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