%PDF- %PDF-
| Direktori : /proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/ |
| Current File : //proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/Templates.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Templates.
*
* @ORM\Table(name="templates")
* @ORM\Entity(repositoryClass="Chamilo\CoreBundle\Entity\Repository\TemplatesRepository")
*/
class Templates
{
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=100, nullable=false)
*/
protected $title;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=250, nullable=false)
*/
protected $description;
/**
* @var string
*
* @ORM\Column(name="course_code", type="string", length=40, nullable=false)
*/
protected $courseCode;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
protected $userId;
/**
* @var int
*
* @ORM\Column(name="ref_doc", type="integer", nullable=false)
*/
protected $refDoc;
/**
* @var string
*
* @ORM\Column(name="image", type="string", length=250, nullable=false)
*/
protected $image;
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
protected $id;
/**
* Set title.
*
* @param string $title
*
* @return Templates
*/
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 Templates
*/
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 Templates
*/
public function setCourseCode($courseCode)
{
$this->courseCode = $courseCode;
return $this;
}
/**
* Get courseCode.
*
* @return string
*/
public function getCourseCode()
{
return $this->courseCode;
}
/**
* Set userId.
*
* @param int $userId
*
* @return Templates
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set refDoc.
*
* @param int $refDoc
*
* @return Templates
*/
public function setRefDoc($refDoc)
{
$this->refDoc = $refDoc;
return $this;
}
/**
* Get refDoc.
*
* @return int
*/
public function getRefDoc()
{
return $this->refDoc;
}
/**
* Set image.
*
* @param string $image
*
* @return Templates
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get image.
*
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
}