1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Quote/NumericEntity.php

31 lines
450 B
PHP

<?php
namespace Doctrine\Tests\Models\Quote;
/**
* @Entity
* @Table(name="table")
*/
class NumericEntity
{
/**
* @Id
* @Column(type="integer", name="`1:1`")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="string", name="`2:2`")
*/
public $value;
/**
* @param string $value
*/
public function __construct($value)
{
$this->value = $value;
}
}