<?php
namespace App\MDS\VenuesBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ReservationAgendaItem
*
* @ORM\Table(name="reservation_agenda_item")
* @ORM\Entity(repositoryClass="App\MDS\VenuesBundle\Repository\ReservationAgendaItemRepository")
* @ORM\HasLifecycleCallbacks()
*/
class ReservationAgendaItem
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="reservationId", type="integer")
*/
private $reservationId;
/**
* @var int
* Número para ordenar el item dentro de la agenda
*
* @ORM\Column(name="rankListing", type="integer")
*/
private $rankListing;
/**
* @var string
* Titulo que permite organizar y englobar los items, establece un nivel
* de jerarquia para la tabulación
*
* @ORM\Column(name="titleOne", type="string", length=555)
*/
private $titleOne;
/**
* @var string
* Titulo que permite organizar y englobar los items, establece un nivel
* de jerarquia para la tabulación
*
* @ORM\Column(name="titleTwo", type="string", length=555, nullable=true)
*/
private $titleTwo;
/**
* @var string
* Titulo que permite organizar y englobar los items, establece un nivel
* de jerarquia para la tabulación
*
* @ORM\Column(name="titleThree", type="string", length=555, nullable=true)
*/
private $titleThree;
/**
* @var \DateTime
*
* @ORM\Column(name="dateStart", type="datetime", nullable=true)
*/
private $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="dateEnd", type="datetime", nullable=true)
*/
private $dateEnd;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=555)
*/
private $description;
/**
* @ORM\Column(name="picture", type="string", length=255, nullable=true)
*
*/
private $picture;
/**
* @var int
* Id del servicio o entidad que creo el AgendaItem (ejem proceso
* automatico de creacion desde un servicio)
*
* @ORM\Column(name="sourceId", type="integer", nullable=true)
*/
private $sourceId;
/**
* @var string
*
* @ORM\Column(name="sourceType", type="string", length=55, nullable=true)
*/
private $sourceType;
/**
* @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;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set reservationId
*
* @param integer $reservationId
*
* @return ReservationAgendaItem
*/
public function setReservationId($reservationId)
{
$this->reservationId = $reservationId;
return $this;
}
/**
* Get reservationId
*
* @return int
*/
public function getReservationId()
{
return $this->reservationId;
}
/**
* Set rankListing
*
* @param integer $rankListing
*
* @return ReservationAgendaItem
*/
public function setRankListing($rankListing)
{
$this->rankListing = $rankListing;
return $this;
}
/**
* Get rankListing
*
* @return int
*/
public function getRankListing()
{
return $this->rankListing;
}
/**
* Set titleOne
*
* @param string $titleOne
*
* @return ReservationAgendaItem
*/
public function setTitleOne($titleOne)
{
$this->titleOne = $titleOne;
return $this;
}
/**
* Get titleOne
*
* @return string
*/
public function getTitleOne()
{
return $this->titleOne;
}
/**
* Set titleTwo
*
* @param string $titleTwo
*
* @return ReservationAgendaItem
*/
public function setTitleTwo($titleTwo)
{
$this->titleTwo = $titleTwo;
return $this;
}
/**
* Get titleTwo
*
* @return string
*/
public function getTitleTwo()
{
return $this->titleTwo;
}
/**
* Set titleThree
*
* @param string $titleThree
*
* @return ReservationAgendaItem
*/
public function setTitleThree($titleThree)
{
$this->titleThree = $titleThree;
return $this;
}
/**
* Get titleThree
*
* @return string
*/
public function getTitleThree()
{
return $this->titleThree;
}
/**
* Set dateStart
*
* @param \DateTime $dateStart
*
* @return ReservationAgendaItem
*/
public function setDateStart($dateStart)
{
$this->dateStart = $dateStart;
return $this;
}
/**
* Get dateStart
*
* @return \DateTime
*/
public function getDateStart()
{
return $this->dateStart;
}
/**
* Set dateEnd
*
* @param \DateTime $dateEnd
*
* @return ReservationAgendaItem
*/
public function setDateEnd($dateEnd)
{
$this->dateEnd = $dateEnd;
return $this;
}
/**
* Get dateEnd
*
* @return \DateTime
*/
public function getDateEnd()
{
return $this->dateEnd;
}
/**
* Set description
*
* @param string $description
*
* @return ReservationAgendaItem
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set picture
*
* @param string $picture
*
* @return ReservationAgendaItem
*/
public function setPicture($picture)
{
$this->picture = $picture;
return $this;
}
/**
* Get picture
*
* @return string
*/
public function getPicture()
{
return $this->picture;
}
/**
* Set sourceId
*
* @param integer $sourceId
*
* @return ReservationAgendaItem
*/
public function setSourceId($sourceId)
{
$this->sourceId = $sourceId;
return $this;
}
/**
* Get sourceId
*
* @return int
*/
public function getSourceId()
{
return $this->sourceId;
}
/**
* Set sourceType
*
* @param string $sourceType
*
* @return ReservationAgendaItem
*/
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
return $this;
}
/**
* Get sourceType
*
* @return string
*/
public function getSourceType()
{
return $this->sourceType;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ReservationAgendaItem
*/
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 ReservationAgendaItem
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return int
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedId
*
* @param integer $updatedId
*
* @return ReservationAgendaItem
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return int
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ReservationAgendaItem
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* @ORM\PrePersist
*/
public function setCreatedAtValue()
{
$this->createdAt = new \Datetime();
}
/**
* @ORM\PrePersist
* @ORM\PreUpdate
*/
public function setUpdatedAtValue()
{
$this->updatedAt = new \Datetime();
}
}