<?php
namespace App\MDS\GreenPatioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ReservationInvoiceProformaItems
*
* @ORM\Table(name="reservation_invoice_proforma_items")
* @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationInvoiceProformaItemsRepository")
*/
class ReservationInvoiceProformaItems
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="controlId", type="integer")
*/
private $controlId;
// Lounge, Service, Payment
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=255)
*/
private $type;
/**
* @var int
*
* @ORM\Column(name="reservationId", type="integer")
*/
private $reservationId;
/**
* @var int
*
* @ORM\Column(name="proformaId", type="integer", nullable=true)
*/
private $proformaId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set type
*
* @param string $type
*
* @return ReservationInvoiceProformaItems
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set reservationId
*
* @param integer $reservationId
*
* @return ReservationInvoiceProformaItems
*/
public function setReservationId($reservationId)
{
$this->reservationId = $reservationId;
return $this;
}
/**
* Get reservationId
*
* @return int
*/
public function getReservationId()
{
return $this->reservationId;
}
/**
* Set proformaId
*
* @param integer $proformaId
*
* @return ReservationInvoiceProformaItems
*/
public function setProformaId($proformaId)
{
$this->proformaId = $proformaId;
return $this;
}
/**
* Get proformaId
*
* @return int
*/
public function getProformaId()
{
return $this->proformaId;
}
/**
* Set controlId
*
* @param integer $controlId
*
* @return ReservationInvoiceProformaItems
*/
public function setControlId($controlId)
{
$this->controlId = $controlId;
return $this;
}
/**
* Get controlId
*
* @return integer
*/
public function getControlId()
{
return $this->controlId;
}
}