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

34 lines
586 B
PHP
Raw Normal View History

2013-03-31 03:47:45 +04:00
<?php
2013-04-07 18:26:05 +04:00
namespace Doctrine\Tests\Models\DDC2372;
2013-03-31 03:47:45 +04:00
2013-04-07 18:26:05 +04:00
use Doctrine\Tests\Models\DDC2372\Traits\DDC2372AddressTrait;
2013-03-31 03:47:45 +04:00
2013-04-07 18:26:05 +04:00
/** @Entity @Table(name="users") */
class DDC2372User
2013-03-31 03:47:45 +04:00
{
2013-04-07 18:26:05 +04:00
use DDC2372AddressTrait;
2013-03-31 03:47:45 +04:00
/**
* @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;
}
}