%PDF- %PDF-
| Direktori : /proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CourseBundle/Entity/ |
| Current File : //proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CourseBundle/Entity/CNotebook.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CNotebook.
*
* @ORM\Table(
* name="c_notebook",
* indexes={
* @ORM\Index(name="course", columns={"c_id"})
* }
* )
* @ORM\Entity(repositoryClass="Chamilo\CourseBundle\Entity\Repository\CNotebookRepository")
*/
class CNotebook
{
/**
* @var int
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $iid;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer")
*/
protected $cId;
/**
* @var int
*
* @ORM\Column(name="notebook_id", type="integer")
*/
protected $notebookId;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
protected $userId;
/**
* @var string
*
* @ORM\Column(name="course", type="string", length=40, nullable=false)
*/
protected $course;
/**
* @var int
*
* @ORM\Column(name="session_id", type="integer", nullable=false)
*/
protected $sessionId;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
protected $title;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
protected $description;
/**
* @var \DateTime
*
* @ORM\Column(name="creation_date", type="datetime", nullable=false)
*/
protected $creationDate;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", type="datetime", nullable=false)
*/
protected $updateDate;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", nullable=true)
*/
protected $status;
/**
* Set userId.
*
* @param int $userId
*
* @return CNotebook
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set course.
*
* @param string $course
*
* @return CNotebook
*/
public function setCourse($course)
{
$this->course = $course;
return $this;
}
/**
* Get course.
*
* @return string
*/
public function getCourse()
{
return $this->course;
}
/**
* Set sessionId.
*
* @param int $sessionId
*
* @return CNotebook
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
return $this;
}
/**
* Get sessionId.
*
* @return int
*/
public function getSessionId()
{
return $this->sessionId;
}
/**
* Set title.
*
* @param string $title
*
* @return CNotebook
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title.
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set description.
*
* @param string $description
*
* @return CNotebook
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set creationDate.
*
* @param \DateTime $creationDate
*
* @return CNotebook
*/
public function setCreationDate($creationDate)
{
$this->creationDate = $creationDate;
return $this;
}
/**
* Get creationDate.
*
* @return \DateTime
*/
public function getCreationDate()
{
return $this->creationDate;
}
/**
* Set updateDate.
*
* @param \DateTime $updateDate
*
* @return CNotebook
*/
public function setUpdateDate($updateDate)
{
$this->updateDate = $updateDate;
return $this;
}
/**
* Get updateDate.
*
* @return \DateTime
*/
public function getUpdateDate()
{
return $this->updateDate;
}
/**
* Set status.
*
* @param int $status
*
* @return CNotebook
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status.
*
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* Set notebookId.
*
* @param int $notebookId
*
* @return CNotebook
*/
public function setNotebookId($notebookId)
{
$this->notebookId = $notebookId;
return $this;
}
/**
* Get notebookId.
*
* @return int
*/
public function getNotebookId()
{
return $this->notebookId;
}
/**
* Set cId.
*
* @param int $cId
*
* @return CNotebook
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
/**
* Get iid.
*
* @return int
*/
public function getIid()
{
return $this->iid;
}
}