1
0
mirror of synced 2025-01-19 15:01:40 +03:00
doctrine2/tools/sandbox/Entities/TraitedUser.php

34 lines
538 B
PHP
Raw Normal View History

2013-03-31 00:47:45 +01:00
<?php
namespace Entities;
use Entities\Traits\AddressTrait;
/** @Entity @Table(name="traited_users") */
class TraitedUser
{
use AddressTrait;
/**
* @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;
}
}