<?php
namespace App\MDS\GreenPatioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ReservationPaymentsClient
*
* @ORM\Table(name="reservation_payments_client")
* @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationPaymentsClientRepository")
*/
class ReservationPaymentsClient
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="amount", type="string", length=255)
*/
private $amount;
/**
* @var \DateTime
*
* @ORM\Column(name="datePayAt", type="datetime")
*/
private $datePayAt;
/**
* @var string
*
* @ORM\Column(name="wayToPay", type="string", length=255)
*/
private $wayToPay;
/**
* @var int
*
* @ORM\Column(name="reservationId", type="integer")
*/
private $reservationId;
/**
* @var string
*
* @ORM\Column(name="vat", type="text", nullable=true)
*/
private $vat;
/**
* @var string
*
* @ORM\Column(name="amountTotal", type="string", length=255, nullable=true)
*/
private $amountTotal;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var int
*
* @ORM\Column(name="createdId", type="integer")
*/
private $createdId;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var int
*
* @ORM\Column(name="updatedId", type="integer")
*/
private $updatedId;
/**
* @var string
*
* @ORM\Column(name="invoiceId", type="string", length=255, nullable=true)
*/
private $invoiceId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set amount
*
* @param string $amount
*
* @return ReservationPaymentsClient
*/
public function setAmount($amount)
{
$this->amount = $amount;
return $this;
}
/**
* Get amount
*
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
* Set datePayAt
*
* @param \DateTime $datePayAt
*
* @return ReservationPaymentsClient
*/
public function setDatePayAt($datePayAt)
{
$this->datePayAt = $datePayAt;
return $this;
}
/**
* Get datePayAt
*
* @return \DateTime
*/
public function getDatePayAt()
{
return $this->datePayAt;
}
/**
* Set wayToPay
*
* @param string $wayToPay
*
* @return ReservationPaymentsClient
*/
public function setWayToPay($wayToPay)
{
$this->wayToPay = $wayToPay;
return $this;
}
/**
* Get wayToPay
*
* @return string
*/
public function getWayToPay()
{
return $this->wayToPay;
}
/**
* Set reservationId
*
* @param integer $reservationId
*
* @return ReservationPaymentsClient
*/
public function setReservationId($reservationId)
{
$this->reservationId = $reservationId;
return $this;
}
/**
* Get reservationId
*
* @return int
*/
public function getReservationId()
{
return $this->reservationId;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ReservationPaymentsClient
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdId
*
* @param integer $createdId
*
* @return ReservationPaymentsClient
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return int
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ReservationPaymentsClient
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedId
*
* @param integer $updatedId
*
* @return ReservationPaymentsClient
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return int
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* Set invoiceId
*
* @param string $invoiceId
*
* @return ReservationPaymentsClient
*/
public function setInvoiceId($invoiceId)
{
$this->invoiceId = $invoiceId;
return $this;
}
/**
* Get invoiceId
*
* @return string
*/
public function getInvoiceId()
{
return $this->invoiceId;
}
/**
* Set amountTotal
*
* @param string $amountTotal
*
* @return ReservationPaymentsClient
*/
public function setAmountTotal($amountTotal)
{
$this->amountTotal = $amountTotal;
return $this;
}
/**
* Get amountTotal
*
* @return string
*/
public function getAmountTotal()
{
return $this->amountTotal;
}
/**
* Set vat
*
* @param string $vat
*
* @return ReservationPaymentsClient
*/
public function setVat($vat)
{
$this->vat = $vat;
return $this;
}
/**
* Get vat
*
* @return string
*/
public function getVat()
{
return $this->vat;
}
}