src/Aviatur/HelicopterBundle/Entity/ConfigHelicopterAgency.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\HelicopterBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ConfigHelicopterAgency.
  6.  *
  7.  * @ORM\Table(name="config_helicopter_agency", indexes={@ORM\Index(name="agency_id", columns={"agency_id"}), @ORM\Index(name="provider_id", columns={"provider_id"})})
  8.  * @ORM\Entity(repositoryClass="Aviatur\HelicopterBundle\Entity\ConfigHelicopterAgencyRepository")
  9.  */
  10. class ConfigHelicopterAgency
  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="wsUrl", type="string", length=255, nullable=false)
  24.      */
  25.     private $wsurl;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="message", type="string", length=255, nullable=false)
  30.      */
  31.     private $message;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="officeId", type="string", length=255, nullable=false)
  36.      */
  37.     private $officeid;
  38.     /**
  39.      * @var int
  40.      *
  41.      * @ORM\Column(name="override", type="integer", nullable=false)
  42.      */
  43.     private $override;
  44.     /**
  45.      * @var bool
  46.      *
  47.      * @ORM\Column(name="isActive", type="boolean", nullable=false)
  48.      */
  49.     private $isactive;
  50.     /**
  51.      * @var int
  52.      *
  53.      * @ORM\Column(name="maxTime", type="integer", nullable=false)
  54.      */
  55.     private $maxtime;
  56.     /**
  57.      * @var bool
  58.      *
  59.      * @ORM\Column(name="hasCombination", type="boolean", nullable=false)
  60.      */
  61.     private $hascombination;
  62.     /**
  63.      *
  64.      * @ORM\ManyToOne(targetEntity="Aviatur\MpaBundle\Entity\Provider", inversedBy="configHelicopterAgency")
  65.      * @ORM\JoinColumns({
  66.      *   @ORM\JoinColumn(name="provider_id", referencedColumnName="id")
  67.      * })
  68.      */
  69.     private ?\Aviatur\MpaBundle\Entity\Provider $provider null;
  70.     /**
  71.      *
  72.      * @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="configHelicopterAgency")
  73.      * @ORM\JoinColumns({
  74.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  75.      * })
  76.      */
  77.     private ?\Aviatur\AgencyBundle\Entity\Agency $agency null;
  78.     /**
  79.      * Get id.
  80.      *
  81.      * @return int
  82.      */
  83.     public function getId()
  84.     {
  85.         return $this->id;
  86.     }
  87.     /**
  88.      * Set wsurl.
  89.      *
  90.      * @param string $wsurl
  91.      *
  92.      * @return ConfigHelicopterAgency
  93.      */
  94.     public function setWsurl($wsurl)
  95.     {
  96.         $this->wsurl $wsurl;
  97.         return $this;
  98.     }
  99.     /**
  100.      * Get wsurl.
  101.      *
  102.      * @return string
  103.      */
  104.     public function getWsurl()
  105.     {
  106.         return $this->wsurl;
  107.     }
  108.     /**
  109.      * Set message.
  110.      *
  111.      * @param string $message
  112.      *
  113.      * @return ConfigHelicopterAgency
  114.      */
  115.     public function setMessage($message)
  116.     {
  117.         $this->message $message;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get message.
  122.      *
  123.      * @return string
  124.      */
  125.     public function getMessage()
  126.     {
  127.         return $this->message;
  128.     }
  129.     /**
  130.      * Set officeid.
  131.      *
  132.      * @param string $officeid
  133.      *
  134.      * @return ConfigHelicopterAgency
  135.      */
  136.     public function setOfficeid($officeid)
  137.     {
  138.         $this->officeid $officeid;
  139.         return $this;
  140.     }
  141.     /**
  142.      * Get officeid.
  143.      *
  144.      * @return string
  145.      */
  146.     public function getOfficeid()
  147.     {
  148.         return $this->officeid;
  149.     }
  150.     /**
  151.      * Set override.
  152.      *
  153.      * @param int $override
  154.      *
  155.      * @return ConfigHelicopterAgency
  156.      */
  157.     public function setOverride($override)
  158.     {
  159.         $this->override $override;
  160.         return $this;
  161.     }
  162.     /**
  163.      * Get override.
  164.      *
  165.      * @return int
  166.      */
  167.     public function getOverride()
  168.     {
  169.         return $this->override;
  170.     }
  171.     /**
  172.      * Set isactive.
  173.      *
  174.      * @param bool $isactive
  175.      *
  176.      * @return ConfigHelicopterAgency
  177.      */
  178.     public function setIsactive($isactive)
  179.     {
  180.         $this->isactive $isactive;
  181.         return $this;
  182.     }
  183.     /**
  184.      * Get isactive.
  185.      *
  186.      * @return bool
  187.      */
  188.     public function getIsactive()
  189.     {
  190.         return $this->isactive;
  191.     }
  192.     /**
  193.      * Set hascombination.
  194.      *
  195.      * @param bool $hascombination
  196.      *
  197.      * @return ConfigHelicopterAgency
  198.      */
  199.     public function setHascombination($hascombination)
  200.     {
  201.         $this->hascombination $hascombination;
  202.         return $this;
  203.     }
  204.     /**
  205.      * Get hascombination.
  206.      *
  207.      * @return bool
  208.      */
  209.     public function getHascombination()
  210.     {
  211.         return $this->hascombination;
  212.     }
  213.     /**
  214.      * Set maxtime.
  215.      *
  216.      * @param int $maxtime
  217.      *
  218.      * @return ConfigHelicopterAgency
  219.      */
  220.     public function setMaxtime($maxtime)
  221.     {
  222.         $this->maxtime $maxtime;
  223.         return $this;
  224.     }
  225.     /**
  226.      * Get maxtime.
  227.      *
  228.      * @return int
  229.      */
  230.     public function getMaxtime()
  231.     {
  232.         return $this->maxtime;
  233.     }
  234.     /**
  235.      * Set provider.
  236.      *
  237.      * @param \Aviatur\MpaBundle\Entity\Provider $provider
  238.      *
  239.      * @return ConfigHelicopterAgency
  240.      */
  241.     public function setProvider(\Aviatur\MpaBundle\Entity\Provider $provider null)
  242.     {
  243.         $this->provider $provider;
  244.         return $this;
  245.     }
  246.     /**
  247.      * Get provider.
  248.      *
  249.      * @return \Aviatur\MpaBundle\Entity\Provider
  250.      */
  251.     public function getProvider()
  252.     {
  253.         return $this->provider;
  254.     }
  255.     /**
  256.      * Set agency.
  257.      *
  258.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  259.      *
  260.      * @return ConfigHelicopterAgency
  261.      */
  262.     public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency null)
  263.     {
  264.         $this->agency $agency;
  265.         return $this;
  266.     }
  267.     /**
  268.      * Get agency.
  269.      *
  270.      * @return \Aviatur\AgencyBundle\Entity\Agency
  271.      */
  272.     public function getAgency()
  273.     {
  274.         return $this->agency;
  275.     }
  276. }