src/Aviatur/ParkBundle/Entity/ConfigParkAgency.php line 13

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