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.
209 lines
3.3 KiB
209 lines
3.3 KiB
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CourseBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* CCalendarEventRepeat
|
|
*
|
|
* @ORM\Table(
|
|
* name="c_calendar_event_repeat",
|
|
* indexes={
|
|
* @ORM\Index(name="course", columns={"c_id"})
|
|
* }
|
|
* )
|
|
* @ORM\Entity
|
|
*/
|
|
class CCalendarEventRepeat
|
|
{
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="iid", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
*/
|
|
private $iid;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="cal_id", type="integer")
|
|
*/
|
|
private $calId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="c_id", type="integer")
|
|
*/
|
|
private $cId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="cal_type", type="string", length=20, nullable=true)
|
|
*/
|
|
private $calType;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="cal_end", type="integer", nullable=true)
|
|
*/
|
|
private $calEnd;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="cal_frequency", type="integer", nullable=true)
|
|
*/
|
|
private $calFrequency;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="cal_days", type="string", length=7, nullable=true)
|
|
*/
|
|
private $calDays;
|
|
|
|
/**
|
|
* Set calType
|
|
*
|
|
* @param string $calType
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCalType($calType)
|
|
{
|
|
$this->calType = $calType;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calType
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCalType()
|
|
{
|
|
return $this->calType;
|
|
}
|
|
|
|
/**
|
|
* Set calEnd
|
|
*
|
|
* @param integer $calEnd
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCalEnd($calEnd)
|
|
{
|
|
$this->calEnd = $calEnd;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calEnd
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCalEnd()
|
|
{
|
|
return $this->calEnd;
|
|
}
|
|
|
|
/**
|
|
* Set calFrequency
|
|
*
|
|
* @param integer $calFrequency
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCalFrequency($calFrequency)
|
|
{
|
|
$this->calFrequency = $calFrequency;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calFrequency
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCalFrequency()
|
|
{
|
|
return $this->calFrequency;
|
|
}
|
|
|
|
/**
|
|
* Set calDays
|
|
*
|
|
* @param string $calDays
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCalDays($calDays)
|
|
{
|
|
$this->calDays = $calDays;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calDays
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCalDays()
|
|
{
|
|
return $this->calDays;
|
|
}
|
|
|
|
/**
|
|
* Set cId
|
|
*
|
|
* @param integer $cId
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
|
|
/**
|
|
* Set calId
|
|
*
|
|
* @param integer $calId
|
|
* @return CCalendarEventRepeat
|
|
*/
|
|
public function setCalId($calId)
|
|
{
|
|
$this->calId = $calId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get calId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCalId()
|
|
{
|
|
return $this->calId;
|
|
}
|
|
}
|
|
|