You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1017 B
55 lines
1017 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CourseBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* CCalendarEventRepeatNot.
|
|
*
|
|
* @ORM\Table(
|
|
* name="c_calendar_event_repeat_not"
|
|
* )
|
|
* @ORM\Entity
|
|
*/
|
|
class CCalendarEventRepeatNot
|
|
{
|
|
/**
|
|
* @ORM\Column(name="iid", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
*/
|
|
protected int $iid;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="Chamilo\CourseBundle\Entity\CCalendarEvent", inversedBy="repeatEvents")
|
|
* @ORM\JoinColumn(name="cal_id", referencedColumnName="iid")
|
|
*/
|
|
protected CCalendarEvent $event;
|
|
|
|
/**
|
|
* @ORM\Column(name="cal_date", type="integer")
|
|
*/
|
|
protected int $calDate;
|
|
|
|
public function setCalDate(int $calDate): self
|
|
{
|
|
$this->calDate = $calDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calDate.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getCalDate()
|
|
{
|
|
return $this->calDate;
|
|
}
|
|
}
|
|
|