<?php
namespace Aviatur\TrmBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* available_currency
*
* @ORM\Table(name="available_currency")
* @ORM\Entity
*/
class AvailabilityCurrency
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="iata", type="string", length=3, nullable=true)
*/
private $iata;
/**
* @var boolean
*
* @ORM\Column(name="isActive", type="boolean", nullable=false, options={"default": 0})
*/
private $isActive;
/**
* @var string|null
*
* @ORM\Column(name="PartyID", type="string", length=30, nullable=true)
*/
private $partyID;
/**
* Get the ID
*
* @return integer
*/
public function getId(): int
{
return $this->id;
}
/**
* Get the IATA code
*
* @return string|null
*/
public function getIata(): ?string
{
return $this->iata;
}
/**
* Set the IATA code
*
* @param string|null $iata
* @return self
*/
public function setIata(?string $iata): self
{
$this->iata = $iata;
return $this;
}
/**
* Get the isActive status
*
* @return boolean
*/
public function getIsActive(): bool
{
return $this->isActive;
}
/**
* Set the isActive status
*
* @param boolean $isActive
* @return self
*/
public function setIsActive(bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
/**
* Get the PartyID
*
* @return string|null
*/
public function getPartyID(): ?string
{
return $this->partyID;
}
/**
* Set the PartyID
*
* @param string|null $partyID
* @return self
*/
public function setPartyID(?string $partyID): self
{
$this->partyID = $partyID;
return $this;
}
}