<?php
namespace Aviatur\AgencyBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Agency.
*
* @ORM\Table(name="agency")
* @ORM\Entity(repositoryClass="Aviatur\AgencyBundle\Entity\AgencyRepository")
*/
class Agency
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="externalId", type="string", length=10, nullable=false)
*/
private $externalid;
/**
* @var string
*
* @ORM\Column(name="officeId", type="string", length=10, nullable=false)
*/
private $officeid;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=100, nullable=false)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="nit", type="string", length=20, nullable=false)
*/
private $nit;
/**
* @var string
*
* @ORM\Column(name="phone", type="string", length=50, nullable=true)
*/
private $phone;
/**
* @var string
*
* @ORM\Column(name="address", type="string", length=100, nullable=true)
*/
private $address;
/**
* @var string
*
* @ORM\Column(name="mailContact", type="string", length=100, nullable=false)
*/
private $mailcontact;
/**
* @var string
*
* @ORM\Column(name="mailBooking", type="string", length=100, nullable=false)
*/
private $mailbooking;
/**
* @var string
*
* @ORM\Column(name="mailOperations", type="string", length=100, nullable=false)
*/
private $mailoperations;
/**
* @var string
*
* @ORM\Column(name="mailVouchers", type="string", length=100, nullable=false)
*/
private $mailvouchers;
/**
* @var string
*
* @ORM\Column(name="domain", type="string", length=50, nullable=false)
*/
private $domain;
/**
* @var string
*
* @ORM\Column(name="domainSecure", type="string", length=50, nullable=false)
*/
private $domainsecure;
/**
* @var string
*
* @ORM\Column(name="domainOld", type="string", length=50, nullable=false)
*/
private $domainold;
/**
* @var string
*
* @ORM\Column(name="urlRoute", type="string", length=255, nullable=false)
*/
private $urlroute;
/**
* @var string
*
* @ORM\Column(name="idClientFacebook", type="string", length=500, nullable=true)
*/
private $idclientfacebook;
/**
* @var string
*
* @ORM\Column(name="idClientGoogle", type="string", length=500, nullable=true)
*/
private $idclientgoogle;
/**
* @var string
*
* @ORM\Column(name="customPort", type="string", length=10, nullable=true)
*/
private $customport;
/**
* @var string
*
* @ORM\Column(name="phonesContact", type="string", length=255, nullable=true)
*/
private $phonescontact;
/**
* @var string
*
* @ORM\Column(name="socialmedia", type="text")
*/
private $socialmedia;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AdminFee", mappedBy="agency", cascade={"all"})
*/
private $adminFee;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\AgencyPaymentConfig", mappedBy="agency", cascade={"all"})
*/
private $agencyPaymentConfig;
/**
* @ORM\OneToMany(targetEntity="Aviatur\CarBundle\Entity\ConfigCarAgency", mappedBy="agency", cascade={"all"})
*/
private $configCarAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightAgency", mappedBy="agency", cascade={"all"})
*/
private $configFlightAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency", mappedBy="agency", cascade={"all"})
*/
private $configFlightCalendarAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\HotelBundle\Entity\ConfigHotelAgency", mappedBy="agency", cascade={"all"})
*/
private $configHotelAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\PackageBundle\Entity\ConfigPackageAgency", mappedBy="agency", cascade={"all"})
*/
private $configPackageAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency", mappedBy="agency", cascade={"all"})
*/
private $configInsuranceAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\BusBundle\Entity\ConfigBusAgency", mappedBy="agency", cascade={"all"})
*/
private $configBusAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\ContentBundle\Entity\Content", mappedBy="agency", cascade={"all"})
*/
private $content;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Order", mappedBy="agency", cascade={"all"})
*/
private $order;
/**
* @ORM\OneToMany(targetEntity="Aviatur\EditionBundle\Entity\HomePromoList", mappedBy="agency", cascade={"all"})
*/
private $homePromoList;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Alerts", mappedBy="agency", cascade={"all"})
*/
private $alerts;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\UserAgency", mappedBy="agency", cascade={"all"})
*/
private $userAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Parameter", mappedBy="agency", cascade={"all"})
*/
private $parameter;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\HistoricalInfo", mappedBy="agency", cascade={"all"})
*/
private $historicalInfo;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PaymentMethodAgency", mappedBy="agency", cascade={"all"})
*/
private $paymentMethodAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PromoSearchAgency", mappedBy="agencyId", cascade={"all"})
*/
private $promoSearchAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Metasearch", mappedBy="agency", cascade={"all"})
*/
private $metasearch;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\Whitemark", mappedBy="agency", cascade={"all"})
*/
private $whitemark;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\UrlHomologation", mappedBy="agency", cascade={"all"})
*/
private $urlHomologation;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\SeoHeader", mappedBy="agency", cascade={"all"})
*/
private $seoHeader;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Service", mappedBy="agency", cascade={"all"})
*/
private $service;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Newsletter", mappedBy="agency", cascade={"all"})
*/
private $newsletter;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Cruiser", mappedBy="agency", cascade={"all"})
*/
private $cruiser;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FormBundle\Entity\Subscription", mappedBy="agency", cascade={"all"})
*/
private $subscription;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PayoutExtraAgency", mappedBy="agency", cascade={"all"})
*/
private $payoutExtraAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\PointRedemptionAgency", mappedBy="agency", cascade={"all"})
*/
private $pointRedemptionAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign", mappedBy="agency", cascade={"all"})
*/
private $specialDiscountCampaign;
/**
* @ORM\OneToMany(targetEntity="Aviatur\CruiserBundle\Entity\ConfigCruiserAgency", mappedBy="agency", cascade={"all"})
*/
private $configCruiserAgency;
/**
* @var string
*
* @ORM\Column(name="assets_folder", type="string", length=500, nullable=false)
*/
private $assetsFolder;
/**
* @var bool
*
* @ORM\Column(name="twigFlux", type="boolean", nullable=true)
*/
protected $twigFlux;
/**
* @var \Customer
*
* @ORM\OneToOne(targetEntity="Aviatur\CustomerBundle\Entity\Customer", inversedBy="agency", cascade={"all"})
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
* })
*/
private $customer;
/**
* @ORM\OneToMany(targetEntity="Aviatur\AgentBundle\Entity\Agent", mappedBy="agency", cascade={"all"})
*/
private $agent;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AirlineOver", mappedBy="agency", cascade={"all"})
*/
private $airlineOver;
/**
* @ORM\OneToMany(targetEntity="Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency", mappedBy="agency", cascade={"all"})
*/
private $configHelicopterAgency;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\AdminFeeActivityLog", mappedBy="order", cascade={"all"})
*/
private $adminFeeActivityLog;
/**
* @ORM\OneToMany(targetEntity="Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog", mappedBy="agency", cascade={"all"})
*/
private $configFlightAgencyActivityLog;
public function __toString()
{
$return = $this->getName().'('.$this->getId().')';
return $return;
}
/**
* Constructor.
*/
public function __construct()
{
$this->agencyPaymentConfig = new \Doctrine\Common\Collections\ArrayCollection();
$this->configCarAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configFlightAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configFlightCalendarAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configHotelAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configPackageAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configInsuranceAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configBusAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->content = new \Doctrine\Common\Collections\ArrayCollection();
$this->order = new \Doctrine\Common\Collections\ArrayCollection();
$this->homePromoList = new \Doctrine\Common\Collections\ArrayCollection();
$this->markup = new \Doctrine\Common\Collections\ArrayCollection();
$this->adminFee = new \Doctrine\Common\Collections\ArrayCollection();
$this->alerts = new \Doctrine\Common\Collections\ArrayCollection();
$this->userAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->parameter = new \Doctrine\Common\Collections\ArrayCollection();
$this->historicalInfo = new \Doctrine\Common\Collections\ArrayCollection();
$this->paymentMethodAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->promoSearchAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->pointRedemptionAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->metasearch = new \Doctrine\Common\Collections\ArrayCollection();
$this->whitemark = new \Doctrine\Common\Collections\ArrayCollection();
$this->urlHomologation = new \Doctrine\Common\Collections\ArrayCollection();
$this->seoHeader = new \Doctrine\Common\Collections\ArrayCollection();
$this->agent = new \Doctrine\Common\Collections\ArrayCollection();
$this->airlineOver = new \Doctrine\Common\Collections\ArrayCollection();
$this->service = new \Doctrine\Common\Collections\ArrayCollection();
$this->newsletter = new \Doctrine\Common\Collections\ArrayCollection();
$this->cruiser = new \Doctrine\Common\Collections\ArrayCollection();
$this->subscription = new \Doctrine\Common\Collections\ArrayCollection();
$this->payoutExtraAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configCruiserAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->configHelicopterAgency = new \Doctrine\Common\Collections\ArrayCollection();
$this->adminFeeActivityLog = new \Doctrine\Common\Collections\ArrayCollection();
$this->socialmedia = new \Doctrine\Common\Collections\ArrayCollection();
$this->configFlightAgencyActivityLog = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name.
*
* @param string $name
*
* @return Agency
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set officeid.
*
* @param string $officeid
*
* @return Agency
*/
public function setOfficeid($officeid)
{
$this->officeid = $officeid;
return $this;
}
/**
* Get officeid.
*
* @return string
*/
public function getOfficeid()
{
return $this->officeid;
}
/**
* Set externalid.
*
* @param string $externalid
*
* @return Agency
*/
public function setExternalid($externalid)
{
$this->externalid = $externalid;
return $this;
}
/**
* Get externalid.
*
* @return string
*/
public function getExternalid()
{
return $this->externalid;
}
/**
* Set nit.
*
* @param string $nit
*
* @return Agency
*/
public function setNit($nit)
{
$this->nit = $nit;
return $this;
}
/**
* Get nit.
*
* @return string
*/
public function getNit()
{
return $this->nit;
}
/**
* Set phone.
*
* @param string $phone
*
* @return Agency
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
/**
* Get phone.
*
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* Set address.
*
* @param string $address
*
* @return Agency
*/
public function setAddress($address)
{
$this->address = $address;
return $this;
}
/**
* Get address.
*
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Set mailcontact.
*
* @param string $mailcontact
*
* @return Agency
*/
public function setMailcontact($mailcontact)
{
$this->mailcontact = $mailcontact;
return $this;
}
/**
* Get mailcontact.
*
* @return string
*/
public function getMailcontact()
{
return $this->mailcontact;
}
/**
* Set mailbooking.
*
* @param string $mailbooking
*
* @return Agency
*/
public function setMailbooking($mailbooking)
{
$this->mailbooking = $mailbooking;
return $this;
}
/**
* Get mailbooking.
*
* @return string
*/
public function getMailbooking()
{
return $this->mailbooking;
}
/**
* Set mailoperations.
*
* @param string $mailoperations
*
* @return Agency
*/
public function setMailoperations($mailoperations)
{
$this->mailoperations = $mailoperations;
return $this;
}
/**
* Get mailoperations.
*
* @return string
*/
public function getMailoperations()
{
return $this->mailoperations;
}
/**
* Set mailvouchers.
*
* @param string $mailvouchers
*
* @return Agency
*/
public function setMailvouchers($mailvouchers)
{
$this->mailvouchers = $mailvouchers;
return $this;
}
/**
* Get mailvouchers.
*
* @return string
*/
public function getMailvouchers()
{
return $this->mailvouchers;
}
/**
* Set domain.
*
* @param string $domain
*
* @return Agency
*/
public function setDomain($domain)
{
$this->domain = $domain;
return $this;
}
/**
* Get domain.
*
* @return string
*/
public function getDomain()
{
if (null == $this->customport || '443' == $this->customport) {
return $this->domain;
} else {
return $this->domain.$this->customport;
}
}
/**
* Set domainsecure.
*
* @param string $domainsecure
*
* @return Agency
*/
public function setDomainsecure($domainsecure)
{
$this->domainsecure = $domainsecure;
return $this;
}
/**
* Get domainsecure.
*
* @return string
*/
public function getDomainsecure()
{
if (null == $this->customport || '443' == $this->customport) {
return $this->domainsecure;
} else {
return $this->domain.$this->customport;
}
}
/**
* Set domainold.
*
* @param string $domainold
*
* @return Agency
*/
public function setDomainold($domainold)
{
$this->domainold = $domainold;
return $this;
}
/**
* Get domainold.
*
* @return string
*/
public function getDomainold()
{
return $this->domainold;
}
/**
* Set urlroute.
*
* @param string $urlroute
*
* @return Agency
*/
public function setUrlroute($urlroute)
{
$this->urlroute = $urlroute;
return $this;
}
/**
* Get urlroute.
*
* @return string
*/
public function getUrlroute()
{
return $this->urlroute;
}
/**
* Set idclientfacebook.
*
* @param string $idclientfacebook
*
* @return Agency
*/
public function setIdclientfacebook($idclientfacebook)
{
$this->idclientfacebook = $idclientfacebook;
return $this;
}
/**
* Get idclientfacebook.
*
* @return string
*/
public function getIdclientfacebook()
{
return $this->idclientfacebook;
}
/**
* Set idclientgoogle.
*
* @param string $idclientgoogle
*
* @return Agency
*/
public function setIdclientgoogle($idclientgoogle)
{
$this->idclientgoogle = $idclientgoogle;
return $this;
}
/**
* Get idclientgoogle.
*
* @return string
*/
public function getIdclientgoogle()
{
return $this->idclientgoogle;
}
/**
* Set customport.
*
* @param string $customport
*
* @return Agency
*/
public function setCustomport($customport)
{
$this->customport = $customport;
return $this;
}
/**
* Get customport.
*
* @return string
*/
public function getCustomport()
{
return $this->customport;
}
/**
* Set phonescontact.
*
* @param string $phonescontact
*
* @return Agency
*/
public function setPhonescontact($phonescontact)
{
$this->phonescontact = $phonescontact;
return $this;
}
/**
* Get phonescontact.
*
* @return string
*/
public function getPhonescontact()
{
return $this->phonescontact;
}
/**
* Get socialmedia.
*
* @return string
*/
public function getSocialmedia()
{
return $this->socialmedia;
}
/**
* Set socialmedia.
*
* @param string $socialmedia
*
* @return Agency
*/
public function setSocialmedia($socialmedia)
{
$this->socialmedia = $socialmedia;
return $this;
}
/**
* Add agencyPaymentConfig.
*
* @return Agency
*/
public function addAgencyPaymentConfig(\Aviatur\GeneralBundle\Entity\AgencyPaymentConfig $agencyPaymentConfig)
{
$this->agencyPaymentConfig[] = $agencyPaymentConfig;
return $this;
}
/**
* Remove agencyPaymentConfig.
*/
public function removeAgencyPaymentConfig(\Aviatur\GeneralBundle\Entity\AgencyPaymentConfig $agencyPaymentConfig)
{
$this->agencyPaymentConfig->removeElement($agencyPaymentConfig);
}
/**
* Get agencyPaymentConfig.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAgencyPaymentConfig()
{
return $this->agencyPaymentConfig;
}
/**
* Add configCarAgency.
*
* @return Agency
*/
public function addConfigCarAgency(\Aviatur\CarBundle\Entity\ConfigCarAgency $configCarAgency)
{
$this->configCarAgency[] = $configCarAgency;
return $this;
}
/**
* Remove configCarAgency.
*/
public function removeConfigCarAgency(\Aviatur\CarBundle\Entity\ConfigCarAgency $configCarAgency)
{
$this->configCarAgency->removeElement($configCarAgency);
}
/**
* Get configCarAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigCarAgency()
{
return $this->configCarAgency;
}
/**
* Add configFlightAgency.
*
* @return Agency
*/
public function addConfigFlightAgency(\Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightAgency)
{
$this->configFlightAgency[] = $configFlightAgency;
return $this;
}
/**
* Remove configFlightAgency.
*/
public function removeConfigFlightAgency(\Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightAgency)
{
$this->configFlightAgency->removeElement($configFlightAgency);
}
/**
* Get configFlightAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigFlightAgency()
{
return $this->configFlightAgency;
}
/**
* Add configFlightCalendarAgency.
*
* @param \Aviatur\FlightBundle\Entity\ConfigFlightAgency $configFlightCalendarAgency
*
* @return Agency
*/
public function addConfigFlightCalendarAgency(\Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency $configFlightCalendarAgency)
{
$this->configFlightCalendarAgency[] = $configFlightCalendarAgency;
return $this;
}
/**
* Remove configFlightCalendarAgency.
*/
public function removeConfigFlightCalendarAgency(\Aviatur\FlightBundle\Entity\ConfigFlightCalendarAgency $configFlightCalendarAgency)
{
$this->configFlightCalendarAgency->removeElement($configFlightCalendarAgency);
}
/**
* Get configFlightCalendarAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigFlightCalendarAgency()
{
return $this->configFlightCalendarAgency;
}
/**
* Add configHotelAgency.
*
* @return Agency
*/
public function addConfigHotelAgency(\Aviatur\HotelBundle\Entity\ConfigHotelAgency $configHotelAgency)
{
$this->configHotelAgency[] = $configHotelAgency;
return $this;
}
/**
* Remove configHotelAgency.
*/
public function removeConfigHotelAgency(\Aviatur\HotelBundle\Entity\ConfigHotelAgency $configHotelAgency)
{
$this->configHotelAgency->removeElement($configHotelAgency);
}
/**
* Get configHotelAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigHotelAgency()
{
return $this->configHotelAgency;
}
/**
* Add configPackageAgency.
*
* @return Agency
*/
public function addConfigPackageAgency(\Aviatur\PackageBundle\Entity\ConfigPackageAgency $configPackageAgency)
{
$this->configPackageAgency[] = $configPackageAgency;
return $this;
}
/**
* Remove configPackageAgency.
*/
public function removeConfigPackageAgency(\Aviatur\PackageBundle\Entity\ConfigPackageAgency $configPackageAgency)
{
$this->configPackageAgency->removeElement($configPackageAgency);
}
/**
* Get configPackageAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigPackageAgency()
{
return $this->configPackageAgency;
}
/**
* Add configInsuranceAgency.
*
* @return Agency
*/
public function addConfigInsuranceAgency(\Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency $configInsuranceAgency)
{
$this->configInsuranceAgency[] = $configInsuranceAgency;
return $this;
}
/**
* Remove configInsuranceAgency.
*/
public function removeConfigInsuranceAgency(\Aviatur\InsuranceBundle\Entity\ConfigInsuranceAgency $configInsuranceAgency)
{
$this->configInsuranceAgency->removeElement($configInsuranceAgency);
}
/**
* Get configInsuranceAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigInsuranceAgency()
{
return $this->configInsuranceAgency;
}
/**
* Add configBusAgency.
*
* @return Agency
*/
public function addConfigBusAgency(\Aviatur\BusBundle\Entity\ConfigBusAgency $configBusAgency)
{
$this->configBusAgency[] = $configBusAgency;
return $this;
}
/**
* Remove configBusAgency.
*/
public function removeConfigBusAgency(\Aviatur\BusBundle\Entity\ConfigBusAgency $configBusAgency)
{
$this->configBusAgency->removeElement($configBusAgency);
}
/**
* Get configBusAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigBusAgency()
{
return $this->configBusAgency;
}
/**
* Add content.
*
* @return Agency
*/
public function addContent(\Aviatur\ContentBundle\Entity\Content $content)
{
$this->content[] = $content;
return $this;
}
/**
* Remove content.
*/
public function removeContent(\Aviatur\ContentBundle\Entity\Content $content)
{
$this->content->removeElement($content);
}
/**
* Get content.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getContent()
{
return $this->content;
}
/**
* Add order.
*
* @return Agency
*/
public function addOrder(\Aviatur\GeneralBundle\Entity\Order $order)
{
$this->order[] = $order;
return $this;
}
/**
* Remove order.
*/
public function removeOrder(\Aviatur\GeneralBundle\Entity\Order $order)
{
$this->order->removeElement($order);
}
/**
* Get order.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getOrder()
{
return $this->order;
}
/**
* Add homePromoList.
*
* @param \Aviatur\EditionBundle\Entity\HomePromoList $homePromoList
*
* @return Agency
*/
public function addHomePromoList(\Aviatur\GeneralBundle\Entity\Order $homePromoList)
{
$this->homePromoList[] = $homePromoList;
return $this;
}
/**
* Remove homePromoList.
*
* @param \Aviatur\EditionBundle\Entity\HomePromoList $homePromoList
*/
public function removeHomePromoList(\Aviatur\GeneralBundle\Entity\Order $homePromoList)
{
$this->homePromoList->removeElement($homePromoList);
}
/**
* Get homePromoList.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getHomePromoList()
{
return $this->homePromoList;
}
/**
* Add alerts.
*
* @param \Aviatur\GeneralBundle\Entity\UserAgency $alerts
*
* @return Agency
*/
public function addAlerts(\Aviatur\GeneralBundle\Entity\Alerts $alerts)
{
$this->alerts[] = $alerts;
return $this;
}
/**
* Remove alerts.
*/
public function removeAlerts(\Aviatur\GeneralBundle\Entity\Alerts $alerts)
{
$this->alerts->removeElement($alerts);
}
/**
* Get alerts.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAlerts()
{
return $this->alerts;
}
/**
* Add userAgency.
*
* @return Agency
*/
public function addUserAgency(\Aviatur\GeneralBundle\Entity\UserAgency $userAgency)
{
$this->userAgency[] = $userAgency;
return $this;
}
/**
* Remove userAgency.
*/
public function removeUserAgency(\Aviatur\GeneralBundle\Entity\UserAgency $userAgency)
{
$this->userAgency->removeElement($userAgency);
}
/**
* Get userAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getUserAgency()
{
return $this->userAgency;
}
/**
* Add parameter.
*
* @return Agency
*/
public function addParameter(\Aviatur\GeneralBundle\Entity\Parameter $parameter)
{
$this->parameter[] = $parameter;
return $this;
}
/**
* Remove parameter.
*/
public function removeParameter(\Aviatur\GeneralBundle\Entity\Parameter $parameter)
{
$this->parameter->removeElement($parameter);
}
/**
* Get parameter.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getParameter()
{
return $this->parameter;
}
/**
* Add historicalInfo.
*
* @return Agency
*/
public function addHistoricalInfo(\Aviatur\GeneralBundle\Entity\HistoricalInfo $historicalInfo)
{
$this->historicalInfo[] = $historicalInfo;
return $this;
}
/**
* Remove historicalInfo.
*/
public function removeHistoricalInfo(\Aviatur\GeneralBundle\Entity\HistoricalInfo $historicalInfo)
{
$this->historicalInfo->removeElement($historicalInfo);
}
/**
* Get historicalInfo.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getHistoricalInfo()
{
return $this->historicalInfo;
}
/**
* Add metaSearch.
*
* @return metaSearch
*/
public function addmetaSearch(\Aviatur\GeneralBundle\Entity\Metasearch $metaSearch)
{
$this->metaSearch[] = $metaSearch;
return $this;
}
/**
* Remove metaSearch.
*/
public function removemetaSearch(\Aviatur\GeneralBundle\Entity\Metasearch $metaSearch)
{
$this->metaSearch->removeElement($metaSearch);
}
/**
* Get metaSearch.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getmetaSearch()
{
return $this->metaSearch;
}
/**
* Add paymentMethodAgency.
*
* @return Agency
*/
public function addPaymentMethodAgency(\Aviatur\GeneralBundle\Entity\PaymentMethodAgency $paymentMethodAgency)
{
$this->paymentMethodAgency[] = $paymentMethodAgency;
return $this;
}
/**
* Remove paymentMethodAgency.
*/
public function removePaymentMethodAgency(\Aviatur\GeneralBundle\Entity\PaymentMethodAgency $paymentMethodAgency)
{
$this->paymentMethodAgency->removeElement($paymentMethodAgency);
}
/**
* Get paymentMethodAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getPaymentMethodAgency()
{
return $this->paymentMethodAgency;
}
/**
* Add promoSearchAgency.
*
* @return Agency
*/
public function addPromoSearchAgency(\Aviatur\GeneralBundle\Entity\PromoSearchAgency $promoSearchAgency)
{
$this->promoSearchAgency[] = $promoSearchAgency;
return $this;
}
/**
* Remove promoSearchAgency.
*/
public function removePromoSearchAgency(\Aviatur\GeneralBundle\Entity\PromoSearchAgency $promoSearchAgency)
{
$this->promoSearchAgency->removeElement($promoSearchAgency);
}
/**
* Get promoSearchAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getPromoSearchAgency()
{
return $this->promoSearchAgency;
}
/**
* Add adminFee.
*
* @return Agency
*/
public function addAdminFee(\Aviatur\FlightBundle\Entity\AdminFee $adminFee)
{
$this->adminFee[] = $adminFee;
return $this;
}
/**
* Remove adminFee.
*/
public function removeAdminFee(\Aviatur\FlightBundle\Entity\AdminFee $adminFee)
{
$this->adminFee->removeElement($adminFee);
}
/**
* Get adminFee.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAdminFee()
{
return $this->adminFee;
}
/**
* Add whitemark.
*
* @return Agency
*/
public function addWhitemark(\Aviatur\GeneralBundle\Entity\Whitemark $whitemark)
{
$this->whitemark[] = $whitemark;
return $this;
}
/**
* Remove whitemark.
*/
public function removeWhitemark(\Aviatur\GeneralBundle\Entity\Whitemark $whitemark)
{
$this->whitemark->removeElement($whitemark);
}
/**
* Get whitemark.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getWhitemark()
{
return $this->whitemark;
}
/**
* Add urlHomologation.
*
* @return Agency
*/
public function addUrlHomologation(\Aviatur\GeneralBundle\Entity\UrlHomologation $urlHomologation)
{
$this->urlHomologation[] = $urlHomologation;
return $this;
}
/**
* Remove urlHomologation.
*/
public function removeUrlHomologation(\Aviatur\GeneralBundle\Entity\UrlHomologation $urlHomologation)
{
$this->urlHomologation->removeElement($urlHomologation);
}
/**
* Get urlHomologation.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getUrlHomologation()
{
return $this->urlHomologation;
}
/**
* Add seoHeader.
*
* @return Agency
*/
public function addSeoHeader(\Aviatur\GeneralBundle\Entity\SeoHeader $seoHeader)
{
$this->seoHeader[] = $seoHeader;
return $this;
}
/**
* Remove seoHeader.
*/
public function removeSeoHeader(\Aviatur\GeneralBundle\Entity\SeoHeader $seoHeader)
{
$this->seoHeader->removeElement($seoHeader);
}
/**
* Add service.
*
* @return Agency
*/
public function addService(\Aviatur\FormBundle\Entity\Service $service)
{
$this->service[] = $service;
return $this;
}
/**
* Remove service.
*/
public function removeService(\Aviatur\FormBundle\Entity\Service $service)
{
$this->service->removeElement($service);
}
/**
* Get service.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getService()
{
return $this->service;
}
/**
* Add newsletter.
*
* @return Agency
*/
public function addNewsletter(\Aviatur\FormBundle\Entity\Newsletter $newsletter)
{
$this->newsletter[] = $newsletter;
return $this;
}
/**
* Remove newsletter.
*/
public function removeNewsletter(\Aviatur\FormBundle\Entity\Newsletter $newsletter)
{
$this->newsletter->removeElement($newsletter);
}
/**
* Get newsletter.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getNewsletter()
{
return $this->newsletter;
}
/**
* Add cruiser.
*
* @return Agency
*/
public function addCruiser(\Aviatur\FormBundle\Entity\Cruiser $cruiser)
{
$this->cruiser[] = $cruiser;
return $this;
}
/**
* Remove cruiser.
*/
public function removeCruiser(\Aviatur\FormBundle\Entity\Cruiser $cruiser)
{
$this->cruiser->removeElement($cruiser);
}
/**
* Get cruiser.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCruiser()
{
return $this->cruiser;
}
/**
* Add subscription.
*
* @return Agency
*/
public function addSubscription(\Aviatur\FormBundle\Entity\Subscription $subscription)
{
$this->subscription[] = $subscription;
return $this;
}
/**
* Remove subscription.
*
* @param \Aviatur\FormBundle\Entity\Subscription $subscription
*/
public function removeSubscription(\Aviatur\FormBundle\Entity\Cruiser $subscription)
{
$this->subscription->removeElement($subscription);
}
/**
* get specialDiscountCampaign.
*
* @return Agency
*/
public function getSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
{
return $this->specialDiscountCampaign = $specialDiscountCampaign;
}
/**
* Get subscription.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getSubscription()
{
return $this->subscription;
}
/**
* Add payoutExtraAgency.
*
* @return Agency
*/
public function addPayoutExtraAgency(\Aviatur\GeneralBundle\Entity\PayoutExtraAgency $payoutExtraAgency)
{
$this->payoutExtraAgency[] = $payoutExtraAgency;
return $this;
}
/**
* Remove payoutExtraAgency.
*/
public function removePayoutExtraAgency(\Aviatur\GeneralBundle\Entity\PayoutExtraAgency $payoutExtraAgency)
{
$this->payoutExtraAgency->removeElement($payoutExtraAgency);
}
/**
* Get payoutExtraAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getPayoutExtraAgency()
{
return $this->payoutExtraAgency;
}
/**
* Add pointRedemptionAgency.
*
* @return Agency
*/
public function addPointRedemptionAgency(\Aviatur\GeneralBundle\Entity\PointRedemptionAgency $pointRedemptionAgency)
{
$this->pointRedemptionAgency[] = $pointRedemptionAgency;
return $this;
}
/**
* Remove pointRedemptionAgency.
*/
public function removePointRedemptionAgency(\Aviatur\GeneralBundle\Entity\PointRedemptionAgency $pointRedemptionAgency)
{
$this->pointRedemptionAgency->removeElement($pointRedemptionAgency);
}
/**
* Get pointRedemptionAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getPointRedemptionAgency()
{
return $this->pointRedemptionAgency;
}
/**
* Add configCruiserAgency.
*
* @return Agency
*/
public function addConfigCruiserAgency(\Aviatur\CruiserBundle\Entity\ConfigCruiserAgency $configCruiserAgency)
{
$this->configCruiserAgency[] = $configCruiserAgency;
return $this;
}
/**
* Remove configCruiserAgency.
*/
public function removeConfigCruiserAgency(\Aviatur\CruiserBundle\Entity\ConfigCruiserAgency $configCruiserAgency)
{
$this->configCruiserAgency->removeElement($configCruiserAgency);
}
/**
* Get configCruiserAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigCruiserAgency()
{
return $this->configCruiserAgency;
}
/**
* Set assetsFolder.
*
* @param string $assetsFolder
*
* @return Agency
*/
public function setAssetsFolder($assetsFolder)
{
$this->assetsFolder = $assetsFolder;
return $this;
}
/**
* Get assetsFolder.
*
* @return string
*/
public function getAssetsFolder()
{
return $this->assetsFolder;
}
/**
* Set twigFlux.
*
* @param bool $twigFlux
*
* @return Agency
*/
public function setTwigFlux($twigFlux)
{
$this->twigFlux = $twigFlux;
return $this;
}
/**
* Get twigFlux.
*
* @return bool
*/
public function getTwigFlux()
{
return $this->twigFlux;
}
/**
* Set customer.
*
* @param \Aviatur\CustomerBundle\Entity\Customer $customer
*
* @return Customer
*/
public function setCustomer(\Aviatur\CustomerBundle\Entity\Customer $customer = null)
{
$this->customer = $customer;
return $this;
}
/**
* Get customer.
*
* @return \Aviatur\CustomerBundle\Entity\Customer
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Add configHelicopterAgency.
*
* @return Agency
*/
public function addConfigHelicopterAgency(\Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency $configHelicopterAgency)
{
$this->configHelicopterAgency[] = $configHelicopterAgency;
return $this;
}
/**
* Remove configHelicopterAgency.
*/
public function removeConfigHelicopterAgency(\Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgency $configHelicopterAgency)
{
$this->configHelicopterAgency->removeElement($configHelicopterAgency);
}
/**
* Get configHelicopterAgency.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigHelicopterAgency()
{
return $this->configHelicopterAgency;
}
/**
* Add alert.
*
* @return Agency
*/
public function addAlert(\Aviatur\GeneralBundle\Entity\Alerts $alert)
{
$this->alerts[] = $alert;
return $this;
}
/**
* Remove alert.
*/
public function removeAlert(\Aviatur\GeneralBundle\Entity\Alerts $alert)
{
$this->alerts->removeElement($alert);
}
/**
* Get seoHeader.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getSeoHeader()
{
return $this->seoHeader;
}
/**
* Add specialDiscountCampaign.
*
* @return Agency
*/
public function addSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
{
$this->specialDiscountCampaign[] = $specialDiscountCampaign;
return $this;
}
/**
* Remove specialDiscountCampaign.
*/
public function removeSpecialDiscountCampaign(\Aviatur\GeneralBundle\Entity\SpecialDiscountCampaign $specialDiscountCampaign)
{
$this->specialDiscountCampaign->removeElement($specialDiscountCampaign);
}
/**
* Add agent.
*
* @return Agency
*/
public function addAgent(\Aviatur\AgentBundle\Entity\Agent $agent)
{
$this->agent[] = $agent;
return $this;
}
/**
* Remove agent.
*/
public function removeAgent(\Aviatur\AgentBundle\Entity\Agent $agent)
{
$this->agent->removeElement($agent);
}
/**
* Get agent.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAgent()
{
return $this->agent;
}
/**
* Add airlineOver.
*
* @return Agency
*/
public function addAirlineOver(\Aviatur\FlightBundle\Entity\AirlineOver $airlineOver)
{
$this->airlineOver[] = $airlineOver;
return $this;
}
/**
* Remove airlineOver.
*
* @param \Aviatur\FlightBundle\Entity\Airline $airlineOver
*/
public function removeAirlineOver(\Aviatur\FlightBundle\Entity\AirlineOver $airlineOver)
{
$this->airlineOver->removeElement($airlineOver);
}
/**
* Get airlineOver.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAirlineOver()
{
return $this->airlineOver;
}
/**
* Add adminFeeActivityLog.
*
* @return AdminFeeActivityLog
*/
public function addAdminFeeActivityLog(\Aviatur\FlightBundle\Entity\AdminFeeActivityLog $adminFeeActivityLog)
{
$this->adminFeeActivityLog[] = $adminFeeActivityLog;
return $this;
}
/**
* Remove AdminFeeActivityLog.
*/
public function removeAdminFeeActivityLog(\Aviatur\FlightBundle\Entity\AdminFeeActivityLog $adminFeeActivityLog)
{
$this->adminFeeActivityLog->removeElement($adminFeeActivityLog);
}
/**
* Get AdminFeeActivityLog.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAdminFeeActivityLog()
{
return $this->adminFeeActivityLog;
}
/**
* Add ConfigFlightAgencyActivityLog.
*
* @return ConfigFlightAgencyActivityLog
*/
public function addConfigFlightAgencyActivityLog(\Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog $configFlightAgencyActivityLog)
{
$this->configFlightAgencyActivityLog[] = $configFlightAgencyActivityLog;
return $this;
}
/**
* Remove ConfigFlightAgencyActivityLog.
*/
public function removeConfigFlightAgencyActivityLog(\Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLog $configFlightAgencyActivityLog)
{
$this->configFlightAgencyActivityLog->removeElement($configFlightAgencyActivityLog);
}
/**
* Get ConfigFlightAgencyActivityLog.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getConfigFlightAgencyActivityLog()
{
return $this->configFlightAgencyActivityLog;
}
}