1
0
mirror of synced 2025-01-25 01:31:40 +03:00
2014-09-06 18:14:16 +03:00

58 lines
815 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC1089;
/**
* @Entity(repositoryClass="DDC1089User2Repository")
* @Table(name="users2")
*/
class DDC1089User2
{
/**
* @Id
* @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @Column(type="string", length=255)
*/
protected $name;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return DDC1089User
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
}