1
0
mirror of synced 2025-02-03 05:49:25 +03:00

50 lines
670 B
PHP
Raw Normal View History

2015-02-11 09:59:41 +01:00
<?php
namespace Doctrine\Tests\Models\Cache;
/**
* @Entity
* @Table("cache_client")
*/
class Client
{
const CLASSNAME = __CLASS__;
/**
* @Id
* @GeneratedValue
* @Column(type="integer")
*/
protected $id;
/**
* @Column(unique=true)
*/
private $name;
public function __construct($name)
{
$this->name = $name;
}
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
public function getName()
{
return $this->name;
}
public function setName($nae)
{
$this->name = $nae;
}
}