Removing dummy *Class* class generatd by Doctrine - see http://forum.symfony-project.org/viewtopic.php?t=25746&p=94599
parent
d545dad2b1
commit
92e9be11f7
@ -1,97 +0,0 @@ |
||||
<?php |
||||
|
||||
namespace Entity; |
||||
|
||||
use Doctrine\ORM\Mapping as ORM; |
||||
|
||||
/** |
||||
* |
||||
* @license see /license.txt |
||||
* @author autogenerated |
||||
*/ |
||||
class Class extends \Entity |
||||
{ |
||||
/** |
||||
* @return \Entity\Repository\ClassRepository |
||||
*/ |
||||
public static function repository(){ |
||||
return \Entity\Repository\ClassRepository::instance(); |
||||
} |
||||
|
||||
/** |
||||
* @return \Entity\Class |
||||
*/ |
||||
public static function create(){ |
||||
return new self(); |
||||
} |
||||
|
||||
/** |
||||
* @var integer $id |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* @var string $code |
||||
*/ |
||||
protected $code; |
||||
|
||||
/** |
||||
* @var text $name |
||||
*/ |
||||
protected $name; |
||||
|
||||
|
||||
/** |
||||
* Get id |
||||
* |
||||
* @return integer |
||||
*/ |
||||
public function get_id() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
|
||||
/** |
||||
* Set code |
||||
* |
||||
* @param string $value |
||||
* @return Class |
||||
*/ |
||||
public function set_code($value) |
||||
{ |
||||
$this->code = $value; |
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* Get code |
||||
* |
||||
* @return string |
||||
*/ |
||||
public function get_code() |
||||
{ |
||||
return $this->code; |
||||
} |
||||
|
||||
/** |
||||
* Set name |
||||
* |
||||
* @param text $value |
||||
* @return Class |
||||
*/ |
||||
public function set_name($value) |
||||
{ |
||||
$this->name = $value; |
||||
return $this; |
||||
} |
||||
|
||||
/** |
||||
* Get name |
||||
* |
||||
* @return text |
||||
*/ |
||||
public function get_name() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
} |
||||
Loading…
Reference in new issue