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

32 lines
480 B
PHP
Raw Normal View History

2012-06-01 21:57:01 +04:00
<?php
namespace Doctrine\Tests\Models\DDC1719;
/**
* @Entity
* @Table(name="`ddc-1719-entity`")
*/
class DDC1719Entity
{
/**
* @Id
* @Column(type="integer", name="`entity-id`")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="string", name="`entity-value`")
*/
public $value;
/**
* @param string $value
*/
public function __construct($value)
{
$this->value = $value;
}
}