src/Aviatur/TrmBundle/Entity/AvailabilityCurrency.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\TrmBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * available_currency
  6.  *
  7.  * @ORM\Table(name="available_currency")
  8.  * @ORM\Entity
  9.  */
  10. class AvailabilityCurrency
  11. {
  12.     /**
  13.      * @var integer
  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|null
  22.      *
  23.      * @ORM\Column(name="iata", type="string", length=3, nullable=true)
  24.      */
  25.     private $iata;
  26.     /**
  27.      * @var boolean
  28.      *
  29.      * @ORM\Column(name="isActive", type="boolean", nullable=false, options={"default": 0})
  30.      */
  31.     private $isActive;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="PartyID", type="string", length=30, nullable=true)
  36.      */
  37.     private $partyID;
  38.     /**
  39.      * Get the ID
  40.      *
  41.      * @return integer
  42.      */
  43.     public function getId(): int
  44.     {
  45.         return $this->id;
  46.     }
  47.     /**
  48.      * Get the IATA code
  49.      *
  50.      * @return string|null
  51.      */
  52.     public function getIata(): ?string
  53.     {
  54.         return $this->iata;
  55.     }
  56.     /**
  57.      * Set the IATA code
  58.      *
  59.      * @param string|null $iata
  60.      * @return self
  61.      */
  62.     public function setIata(?string $iata): self
  63.     {
  64.         $this->iata $iata;
  65.         return $this;
  66.     }
  67.     /**
  68.      * Get the isActive status
  69.      *
  70.      * @return boolean
  71.      */
  72.     public function getIsActive(): bool
  73.     {
  74.         return $this->isActive;
  75.     }
  76.     /**
  77.      * Set the isActive status
  78.      *
  79.      * @param boolean $isActive
  80.      * @return self
  81.      */
  82.     public function setIsActive(bool $isActive): self
  83.     {
  84.         $this->isActive $isActive;
  85.         return $this;
  86.     }
  87.     /**
  88.      * Get the PartyID
  89.      *
  90.      * @return string|null
  91.      */
  92.     public function getPartyID(): ?string
  93.     {
  94.         return $this->partyID;
  95.     }
  96.     /**
  97.      * Set the PartyID
  98.      *
  99.      * @param string|null $partyID
  100.      * @return self
  101.      */
  102.     public function setPartyID(?string $partyID): self
  103.     {
  104.         $this->partyID $partyID;
  105.         return $this;
  106.     }
  107. }