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/EntityCDocument.php

289 lines
4.7 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCDocument
*
* @Table(name="c_document")
* @Entity
*/
class EntityCDocument
{
/**
* @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="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $id;
/**
* @var string
*
* @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
*/
private $path;
/**
* @var string
*
* @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
*/
private $comment;
/**
* @var string
*
* @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
*/
private $title;
/**
* @var string
*
* @Column(name="filetype", type="string", precision=0, scale=0, nullable=false, unique=false)
*/
private $filetype;
/**
* @var integer
*
* @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $size;
/**
* @var boolean
*
* @Column(name="readonly", type="boolean", precision=0, scale=0, nullable=false, unique=false)
*/
private $readonly;
/**
* @var integer
*
* @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $sessionId;
/**
* Set cId
*
* @param integer $cId
* @return EntityCDocument
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set id
*
* @param integer $id
* @return EntityCDocument
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set path
*
* @param string $path
* @return EntityCDocument
*/
public function setPath($path)
{
$this->path = $path;
return $this;
}
/**
* Get path
*
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* Set comment
*
* @param string $comment
* @return EntityCDocument
*/
public function setComment($comment)
{
$this->comment = $comment;
return $this;
}
/**
* Get comment
*
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* Set title
*
* @param string $title
* @return EntityCDocument
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set filetype
*
* @param string $filetype
* @return EntityCDocument
*/
public function setFiletype($filetype)
{
$this->filetype = $filetype;
return $this;
}
/**
* Get filetype
*
* @return string
*/
public function getFiletype()
{
return $this->filetype;
}
/**
* Set size
*
* @param integer $size
* @return EntityCDocument
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Get size
*
* @return integer
*/
public function getSize()
{
return $this->size;
}
/**
* Set readonly
*
* @param boolean $readonly
* @return EntityCDocument
*/
public function setReadonly($readonly)
{
$this->readonly = $readonly;
return $this;
}
/**
* Get readonly
*
* @return boolean
*/
public function getReadonly()
{
return $this->readonly;
}
/**
* Set sessionId
*
* @param integer $sessionId
* @return EntityCDocument
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
return $this;
}
/**
* Get sessionId
*
* @return integer
*/
public function getSessionId()
{
return $this->sessionId;
}
}