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

30 lines
384 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")
*/
public $id;
2015-02-11 09:59:41 +01:00
/**
* @Column(unique=true)
*/
public $name;
2015-02-11 09:59:41 +01:00
public function __construct($name)
{
$this->name = $name;
}
}