123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCCalendarEvent
- *
- * @Table(name="c_calendar_event")
- * @Entity
- */
- class EntityCCalendarEvent
- {
- /**
- * @var integer
- *
- * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $cId;
- /**
- * @var integer
- *
- * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $title;
- /**
- * @var string
- *
- * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $content;
- /**
- * @var \DateTime
- *
- * @Column(name="start_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $startDate;
- /**
- * @var \DateTime
- *
- * @Column(name="end_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $endDate;
- /**
- * @var integer
- *
- * @Column(name="parent_event_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $parentEventId;
- /**
- * @var integer
- *
- * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $sessionId;
- /**
- * @var integer
- *
- * @Column(name="all_day", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $allDay;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCCalendarEvent
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set id
- *
- * @param integer $id
- * @return EntityCCalendarEvent
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set title
- *
- * @param string $title
- * @return EntityCCalendarEvent
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * Set content
- *
- * @param string $content
- * @return EntityCCalendarEvent
- */
- public function setContent($content)
- {
- $this->content = $content;
- return $this;
- }
- /**
- * Get content
- *
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
- /**
- * Set startDate
- *
- * @param \DateTime $startDate
- * @return EntityCCalendarEvent
- */
- public function setStartDate($startDate)
- {
- $this->startDate = $startDate;
- return $this;
- }
- /**
- * Get startDate
- *
- * @return \DateTime
- */
- public function getStartDate()
- {
- return $this->startDate;
- }
- /**
- * Set endDate
- *
- * @param \DateTime $endDate
- * @return EntityCCalendarEvent
- */
- public function setEndDate($endDate)
- {
- $this->endDate = $endDate;
- return $this;
- }
- /**
- * Get endDate
- *
- * @return \DateTime
- */
- public function getEndDate()
- {
- return $this->endDate;
- }
- /**
- * Set parentEventId
- *
- * @param integer $parentEventId
- * @return EntityCCalendarEvent
- */
- public function setParentEventId($parentEventId)
- {
- $this->parentEventId = $parentEventId;
- return $this;
- }
- /**
- * Get parentEventId
- *
- * @return integer
- */
- public function getParentEventId()
- {
- return $this->parentEventId;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return EntityCCalendarEvent
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- /**
- * Set allDay
- *
- * @param integer $allDay
- * @return EntityCCalendarEvent
- */
- public function setAllDay($allDay)
- {
- $this->allDay = $allDay;
- return $this;
- }
- /**
- * Get allDay
- *
- * @return integer
- */
- public function getAllDay()
- {
- return $this->allDay;
- }
- }
|