%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/ClassItem.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ClassItem.
*
* @ORM\Table(name="class_item")
* @ORM\Entity
*/
class ClassItem
{
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=40, nullable=true)
*/
protected $code;
/**
* @var string
*
* @ORM\Column(name="name", type="text", nullable=false)
*/
protected $name;
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
protected $id;
/**
* Set code.
*
* @param string $code
*
* @return ClassItem
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code.
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set name.
*
* @param string $name
*
* @return ClassItem
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
}