src/Aviatur/CruiserBundle/Entity/ConfigCruiserAgency.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\CruiserBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ConfigCruiserAgency.
  6.  *
  7.  * @ORM\Table(name="config_cruiser_agency", indexes={@ORM\Index(name="provider_id", columns={"provider_id"}), @ORM\Index(name="agency_id", columns={"agency_id"})})
  8.  * @ORM\Entity(repositoryClass="Aviatur\CruiserBundle\Entity\ConfigCruiserAgencyRepository")
  9.  */
  10. class ConfigCruiserAgency
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var \Aviatur\MpaBundle\Entity\Provider
  22.      *
  23.      * @ORM\ManyToOne(targetEntity="Aviatur\MpaBundle\Entity\Provider", inversedBy="configCruiserAgency")
  24.      * @ORM\JoinColumns({
  25.      *   @ORM\JoinColumn(name="provider_id", referencedColumnName="id")
  26.      * })
  27.      */
  28.     private $provider;
  29.     /**
  30.      * @var \Aviatur\AgencyBundle\Entity\Agency
  31.      *
  32.      * @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="configCruiserAgency")
  33.      * @ORM\JoinColumns({
  34.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  35.      * })
  36.      */
  37.     private $agency;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="wsUrl", type="string", length=255)
  42.      */
  43.     private $wsUrl;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="urlType", type="string", length=3)
  48.      */
  49.     private $urlType;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="message", type="string", length=255)
  54.      */
  55.     private $message;
  56.     /**
  57.      * @var bool
  58.      *
  59.      * @ORM\Column(name="isActive", type="boolean", nullable=false)
  60.      */
  61.     private $isactive;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="mailsForm", type="string", length=255)
  66.      */
  67.     private $mailsForm;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="mailsWeb", type="string", length=255)
  72.      */
  73.     private $mailsWeb;
  74.     /**
  75.      * Get id.
  76.      *
  77.      * @return int
  78.      */
  79.     public function getId()
  80.     {
  81.         return $this->id;
  82.     }
  83.     /**
  84.      * Set provider.
  85.      *
  86.      * @param \Aviatur\MpaBundle\Entity\Provider $provider
  87.      *
  88.      * @return ConfigCruiserAgency
  89.      */
  90.     public function setProvider($provider)
  91.     {
  92.         $this->provider $provider;
  93.         return $this;
  94.     }
  95.     /**
  96.      * Get provider.
  97.      *
  98.      * @return int
  99.      */
  100.     public function getProvider()
  101.     {
  102.         return $this->provider;
  103.     }
  104.     /**
  105.      * Set agency.
  106.      *
  107.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  108.      *
  109.      * @return ConfigCruiserAgency
  110.      */
  111.     public function setAgency($agency)
  112.     {
  113.         $this->agency $agency;
  114.         return $this;
  115.     }
  116.     /**
  117.      * Get agency.
  118.      *
  119.      * @return int
  120.      */
  121.     public function getAgency()
  122.     {
  123.         return $this->agency;
  124.     }
  125.     /**
  126.      * Set wsUrl.
  127.      *
  128.      * @param string $wsUrl
  129.      *
  130.      * @return ConfigCruiserAgency
  131.      */
  132.     public function setWsUrl($wsUrl)
  133.     {
  134.         $this->wsUrl $wsUrl;
  135.         return $this;
  136.     }
  137.     /**
  138.      * Get wsUrl.
  139.      *
  140.      * @return string
  141.      */
  142.     public function getWsUrl()
  143.     {
  144.         return $this->wsUrl;
  145.     }
  146.     /**
  147.      * Set urlType.
  148.      *
  149.      * @param string $urlType
  150.      *
  151.      * @return ConfigCruiserAgency
  152.      */
  153.     public function setUrlType($urlType)
  154.     {
  155.         $this->urlType $urlType;
  156.         return $this;
  157.     }
  158.     /**
  159.      * Get urlType.
  160.      *
  161.      * @return string
  162.      */
  163.     public function getUrlType()
  164.     {
  165.         return $this->urlType;
  166.     }
  167.     /**
  168.      * Set message.
  169.      *
  170.      * @param string $message
  171.      *
  172.      * @return ConfigCruiserAgency
  173.      */
  174.     public function setMessage($message)
  175.     {
  176.         $this->message $message;
  177.         return $this;
  178.     }
  179.     /**
  180.      * Get message.
  181.      *
  182.      * @return string
  183.      */
  184.     public function getMessage()
  185.     {
  186.         return $this->message;
  187.     }
  188.     /**
  189.      * Set isactive.
  190.      *
  191.      * @param bool $isactive
  192.      *
  193.      * @return ConfigCruiserAgency
  194.      */
  195.     public function setIsactive($isactive)
  196.     {
  197.         $this->isactive $isactive;
  198.         return $this;
  199.     }
  200.     /**
  201.      * Get isactive.
  202.      *
  203.      * @return bool
  204.      */
  205.     public function getIsactive()
  206.     {
  207.         return $this->isactive;
  208.     }
  209.     /**
  210.      * Set mailsForm.
  211.      *
  212.      * @param string $mailsForm
  213.      *
  214.      * @return ConfigCruiserAgency
  215.      */
  216.     public function setMailsForm($mailsForm)
  217.     {
  218.         $this->mailsForm $mailsForm;
  219.         return $this;
  220.     }
  221.     /**
  222.      * Get mailsForm.
  223.      *
  224.      * @return string
  225.      */
  226.     public function getMailsForm()
  227.     {
  228.         return $this->mailsForm;
  229.     }
  230.     /**
  231.      * Set mailsWeb.
  232.      *
  233.      * @param string $mailsWeb
  234.      *
  235.      * @return ConfigCruiserAgency
  236.      */
  237.     public function setMailsWeb($mailsWeb)
  238.     {
  239.         $this->mailsWeb $mailsWeb;
  240.         return $this;
  241.     }
  242.     /**
  243.      * Get mailsWeb.
  244.      *
  245.      * @return string
  246.      */
  247.     public function getMailsWeb()
  248.     {
  249.         return $this->mailsWeb;
  250.     }
  251. }