1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/tests/Doctrine/Tests/Models/DDC2372/DDC2372User.php
2013-04-07 16:26:05 +02:00

34 lines
586 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC2372;
use Doctrine\Tests\Models\DDC2372\Traits\DDC2372AddressTrait;
/** @Entity @Table(name="users") */
class DDC2372User
{
use DDC2372AddressTrait;
/**
* @Id @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
private $id;
/** @Column(type="string", length=50) */
private $name;
public function getId()
{
return $this->id;
}
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
}