Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/Entity/EntityCNotebook.php

319 lines
5.5 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCNotebook
*
* @Table(name="c_notebook")
* @Entity
*/
class EntityCNotebook
{
/**
* @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="notebook_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $notebookId;
/**
* @var integer
*
* @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $userId;
/**
* @var string
*
* @Column(name="course", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
*/
private $course;
/**
* @var integer
*
* @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $sessionId;
/**
* @var string
*
* @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
*/
private $title;
/**
* @var string
*
* @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
*/
private $description;
/**
* @var \DateTime
*
* @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $creationDate;
/**
* @var \DateTime
*
* @Column(name="update_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $updateDate;
/**
* @var integer
*
* @Column(name="status", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $status;
/**
* Set cId
*
* @param integer $cId
* @return EntityCNotebook
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set notebookId
*
* @param integer $notebookId
* @return EntityCNotebook
*/
public function setNotebookId($notebookId)
{
$this->notebookId = $notebookId;
return $this;
}
/**
* Get notebookId
*
* @return integer
*/
public function getNotebookId()
{
return $this->notebookId;
}
/**
* Set userId
*
* @param integer $userId
* @return EntityCNotebook
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set course
*
* @param string $course
* @return EntityCNotebook
*/
public function setCourse($course)
{
$this->course = $course;
return $this;
}
/**
* Get course
*
* @return string
*/
public function getCourse()
{
return $this->course;
}
/**
* Set sessionId
*
* @param integer $sessionId
* @return EntityCNotebook
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
return $this;
}
/**
* Get sessionId
*
* @return integer
*/
public function getSessionId()
{
return $this->sessionId;
}
/**
* Set title
*
* @param string $title
* @return EntityCNotebook
*/
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 EntityCNotebook
*/
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 EntityCNotebook
*/
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 EntityCNotebook
*/
public function setUpdateDate($updateDate)
{
$this->updateDate = $updateDate;
return $this;
}
/**
* Get updateDate
*
* @return \DateTime
*/
public function getUpdateDate()
{
return $this->updateDate;
}
/**
* Set status
*
* @param integer $status
* @return EntityCNotebook
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return integer
*/
public function getStatus()
{
return $this->status;
}
}