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.
174 lines
3.0 KiB
174 lines
3.0 KiB
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CourseBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* CAttendanceCalendar
|
|
*
|
|
* @ORM\Table(name="c_attendance_calendar", indexes={@ORM\Index(name="attendance_id", columns={"attendance_id"}), @ORM\Index(name="done_attendance", columns={"done_attendance"})})
|
|
* @ORM\Entity
|
|
*/
|
|
class CAttendanceCalendar
|
|
{
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="iid", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
*/
|
|
private $iid;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="id", type="integer", nullable=true)
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="c_id", type="integer")
|
|
*/
|
|
private $cId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="attendance_id", type="integer", nullable=false)
|
|
*/
|
|
private $attendanceId;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="date_time", type="datetime", nullable=false)
|
|
*/
|
|
private $dateTime;
|
|
|
|
/**
|
|
* @var boolean
|
|
*
|
|
* @ORM\Column(name="done_attendance", type="boolean", nullable=false)
|
|
*/
|
|
private $doneAttendance;
|
|
|
|
/**
|
|
* Set attendanceId
|
|
*
|
|
* @param integer $attendanceId
|
|
* @return CAttendanceCalendar
|
|
*/
|
|
public function setAttendanceId($attendanceId)
|
|
{
|
|
$this->attendanceId = $attendanceId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get attendanceId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getAttendanceId()
|
|
{
|
|
return $this->attendanceId;
|
|
}
|
|
|
|
/**
|
|
* Set dateTime
|
|
*
|
|
* @param \DateTime $dateTime
|
|
* @return CAttendanceCalendar
|
|
*/
|
|
public function setDateTime($dateTime)
|
|
{
|
|
$this->dateTime = $dateTime;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get dateTime
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getDateTime()
|
|
{
|
|
return $this->dateTime;
|
|
}
|
|
|
|
/**
|
|
* Set doneAttendance
|
|
*
|
|
* @param boolean $doneAttendance
|
|
* @return CAttendanceCalendar
|
|
*/
|
|
public function setDoneAttendance($doneAttendance)
|
|
{
|
|
$this->doneAttendance = $doneAttendance;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get doneAttendance
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function getDoneAttendance()
|
|
{
|
|
return $this->doneAttendance;
|
|
}
|
|
|
|
/**
|
|
* Set id
|
|
*
|
|
* @param integer $id
|
|
* @return CAttendanceCalendar
|
|
*/
|
|
public function setId($id)
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set cId
|
|
*
|
|
* @param integer $cId
|
|
* @return CAttendanceCalendar
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
}
|
|
|