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

32 lines
498 B
PHP
Raw Normal View History

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