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

94 lines
1.5 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntitySpecificField
*
* @Table(name="specific_field")
* @Entity
*/
class EntitySpecificField
{
/**
* @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="code", type="string", length=1, precision=0, scale=0, nullable=false, unique=false)
*/
private $code;
/**
* @var string
*
* @Column(name="name", type="string", length=200, precision=0, scale=0, nullable=false, unique=false)
*/
private $name;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set code
*
* @param string $code
* @return EntitySpecificField
*/
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 EntitySpecificField
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
}