<?php
namespace Aviatur\CruiserBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ConfigCruiserAgency.
*
* @ORM\Table(name="config_cruiser_agency", indexes={@ORM\Index(name="provider_id", columns={"provider_id"}), @ORM\Index(name="agency_id", columns={"agency_id"})})
* @ORM\Entity(repositoryClass="Aviatur\CruiserBundle\Entity\ConfigCruiserAgencyRepository")
*/
class ConfigCruiserAgency
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var \Aviatur\MpaBundle\Entity\Provider
*
* @ORM\ManyToOne(targetEntity="Aviatur\MpaBundle\Entity\Provider", inversedBy="configCruiserAgency")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="provider_id", referencedColumnName="id")
* })
*/
private $provider;
/**
* @var \Aviatur\AgencyBundle\Entity\Agency
*
* @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="configCruiserAgency")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
* })
*/
private $agency;
/**
* @var string
*
* @ORM\Column(name="wsUrl", type="string", length=255)
*/
private $wsUrl;
/**
* @var string
*
* @ORM\Column(name="urlType", type="string", length=3)
*/
private $urlType;
/**
* @var string
*
* @ORM\Column(name="message", type="string", length=255)
*/
private $message;
/**
* @var bool
*
* @ORM\Column(name="isActive", type="boolean", nullable=false)
*/
private $isactive;
/**
* @var string
*
* @ORM\Column(name="mailsForm", type="string", length=255)
*/
private $mailsForm;
/**
* @var string
*
* @ORM\Column(name="mailsWeb", type="string", length=255)
*/
private $mailsWeb;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set provider.
*
* @param \Aviatur\MpaBundle\Entity\Provider $provider
*
* @return ConfigCruiserAgency
*/
public function setProvider($provider)
{
$this->provider = $provider;
return $this;
}
/**
* Get provider.
*
* @return int
*/
public function getProvider()
{
return $this->provider;
}
/**
* Set agency.
*
* @param \Aviatur\AgencyBundle\Entity\Agency $agency
*
* @return ConfigCruiserAgency
*/
public function setAgency($agency)
{
$this->agency = $agency;
return $this;
}
/**
* Get agency.
*
* @return int
*/
public function getAgency()
{
return $this->agency;
}
/**
* Set wsUrl.
*
* @param string $wsUrl
*
* @return ConfigCruiserAgency
*/
public function setWsUrl($wsUrl)
{
$this->wsUrl = $wsUrl;
return $this;
}
/**
* Get wsUrl.
*
* @return string
*/
public function getWsUrl()
{
return $this->wsUrl;
}
/**
* Set urlType.
*
* @param string $urlType
*
* @return ConfigCruiserAgency
*/
public function setUrlType($urlType)
{
$this->urlType = $urlType;
return $this;
}
/**
* Get urlType.
*
* @return string
*/
public function getUrlType()
{
return $this->urlType;
}
/**
* Set message.
*
* @param string $message
*
* @return ConfigCruiserAgency
*/
public function setMessage($message)
{
$this->message = $message;
return $this;
}
/**
* Get message.
*
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Set isactive.
*
* @param bool $isactive
*
* @return ConfigCruiserAgency
*/
public function setIsactive($isactive)
{
$this->isactive = $isactive;
return $this;
}
/**
* Get isactive.
*
* @return bool
*/
public function getIsactive()
{
return $this->isactive;
}
/**
* Set mailsForm.
*
* @param string $mailsForm
*
* @return ConfigCruiserAgency
*/
public function setMailsForm($mailsForm)
{
$this->mailsForm = $mailsForm;
return $this;
}
/**
* Get mailsForm.
*
* @return string
*/
public function getMailsForm()
{
return $this->mailsForm;
}
/**
* Set mailsWeb.
*
* @param string $mailsWeb
*
* @return ConfigCruiserAgency
*/
public function setMailsWeb($mailsWeb)
{
$this->mailsWeb = $mailsWeb;
return $this;
}
/**
* Get mailsWeb.
*
* @return string
*/
public function getMailsWeb()
{
return $this->mailsWeb;
}
}