<?php
namespace App\MDS\GreenPatioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ReservationMailAlertClient
*
* @ORM\Table(name="reservation_mail_alert_client")
* @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationMailAlertClientRepository")
* @ORM\HasLifecycleCallbacks()
*/
class ReservationMailAlertClient
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="reservationId", type="integer", nullable=true)
*/
private $reservationId;
/**
* @var int
*
* @ORM\Column(name="agentId", type="integer", nullable=true)
*/
private $agentId;
/**
* @var string
*
* @ORM\Column(name="agentMail", type="string", length=255, nullable=true)
*/
private $agentMail;
/**
* @var int
*
* @ORM\Column(name="clientId", type="integer", nullable=true)
*/
private $clientId;
/**
* @var string
*
* @ORM\Column(name="clientMail", type="string", length=255, nullable=true)
*/
private $clientMail;
/**
* @var \DateTime
*
* @ORM\Column(name="alertDateTime", type="datetime")
*/
private $alertDateTime;
/**
* @var bool
*
* @ORM\Column(name="alertSended", type="boolean", nullable=true)
*/
private $alertSended;
/**
* @var \DateTime
*
* @ORM\Column(name="cancelDateTime", type="datetime")
*/
private $cancelDateTime;
/**
* @var bool
*
* @ORM\Column(name="cancelSended", type="boolean", nullable=true)
*/
private $cancelSended;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime")
*/
private $createdAt;
/**
* @var int
*
* @ORM\Column(name="created_id", type="integer", nullable=true)
*/
private $createdId;
/**
* @var int
*
* @ORM\Column(name="oldReservationId", type="integer", nullable=true)
*/
private $oldReservationId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set reservationId
*
* @param integer $reservationId
*
* @return ReservationMailAlertClient
*/
public function setReservationId($reservationId)
{
$this->reservationId = $reservationId;
return $this;
}
/**
* Get reservationId
*
* @return integer
*/
public function getReservationId()
{
return $this->reservationId;
}
/**
* Set agentId
*
* @param integer $agentId
*
* @return ReservationMailAlertClient
*/
public function setAgentId($agentId)
{
$this->agentId = $agentId;
return $this;
}
/**
* Get agentId
*
* @return integer
*/
public function getAgentId()
{
return $this->agentId;
}
/**
* Set agentMail
*
* @param string $agentMail
*
* @return ReservationMailAlertClient
*/
public function setAgentMail($agentMail)
{
$this->agentMail = $agentMail;
return $this;
}
/**
* Get agentMail
*
* @return string
*/
public function getAgentMail()
{
return $this->agentMail;
}
/**
* Set clientId
*
* @param integer $clientId
*
* @return ReservationMailAlertClient
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
return $this;
}
/**
* Get clientId
*
* @return integer
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Set clientMail
*
* @param string $clientMail
*
* @return ReservationMailAlertClient
*/
public function setClientMail($clientMail)
{
$this->clientMail = $clientMail;
return $this;
}
/**
* Get clientMail
*
* @return string
*/
public function getClientMail()
{
return $this->clientMail;
}
/**
* Set alertDateTime
*
* @param \DateTime $alertDateTime
*
* @return ReservationMailAlertClient
*/
public function setAlertDateTime($alertDateTime)
{
$this->alertDateTime = $alertDateTime;
return $this;
}
/**
* Get alertDateTime
*
* @return \DateTime
*/
public function getAlertDateTime()
{
return $this->alertDateTime;
}
/**
* Set alertSended
*
* @param boolean $alertSended
*
* @return ReservationMailAlertClient
*/
public function setAlertSended($alertSended)
{
$this->alertSended = $alertSended;
return $this;
}
/**
* Get alertSended
*
* @return boolean
*/
public function getAlertSended()
{
return $this->alertSended;
}
/**
* Set cancelDateTime
*
* @param \DateTime $cancelDateTime
*
* @return ReservationMailAlertClient
*/
public function setCancelDateTime($cancelDateTime)
{
$this->cancelDateTime = $cancelDateTime;
return $this;
}
/**
* Get cancelDateTime
*
* @return \DateTime
*/
public function getCancelDateTime()
{
return $this->cancelDateTime;
}
/**
* Set cancelSended
*
* @param boolean $cancelSended
*
* @return ReservationMailAlertClient
*/
public function setCancelSended($cancelSended)
{
$this->cancelSended = $cancelSended;
return $this;
}
/**
* Get cancelSended
*
* @return boolean
*/
public function getCancelSended()
{
return $this->cancelSended;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ReservationMailAlertClient
*/
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 ReservationMailAlertClient
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return integer
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* @ORM\PrePersist
*/
public function setCreatedAtValue()
{
$this->createdAt = new \Datetime();
}
/**
* Set oldReservationId
*
* @param integer $oldReservationId
*
* @return ReservationMailAlertClient
*/
public function setOldReservationId($oldReservationId)
{
$this->oldReservationId = $oldReservationId;
return $this;
}
/**
* Get oldReservationId
*
* @return integer
*/
public function getOldReservationId()
{
return $this->oldReservationId;
}
}