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

214 lines
3.6 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityTemplates
*
* @Table(name="templates")
* @Entity
*/
class EntityTemplates
{
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @Column(name="title", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
*/
private $title;
/**
* @var string
*
* @Column(name="description", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
*/
private $description;
/**
* @var string
*
* @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
*/
private $courseCode;
/**
* @var integer
*
* @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $userId;
/**
* @var integer
*
* @Column(name="ref_doc", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $refDoc;
/**
* @var string
*
* @Column(name="image", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
*/
private $image;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set title
*
* @param string $title
* @return EntityTemplates
*/
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 EntityTemplates
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set courseCode
*
* @param string $courseCode
* @return EntityTemplates
*/
public function setCourseCode($courseCode)
{
$this->courseCode = $courseCode;
return $this;
}
/**
* Get courseCode
*
* @return string
*/
public function getCourseCode()
{
return $this->courseCode;
}
/**
* Set userId
*
* @param integer $userId
* @return EntityTemplates
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set refDoc
*
* @param integer $refDoc
* @return EntityTemplates
*/
public function setRefDoc($refDoc)
{
$this->refDoc = $refDoc;
return $this;
}
/**
* Get refDoc
*
* @return integer
*/
public function getRefDoc()
{
return $this->refDoc;
}
/**
* Set image
*
* @param string $image
* @return EntityTemplates
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get image
*
* @return string
*/
public function getImage()
{
return $this->image;
}
}