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

31 lines
450 B
PHP
Raw Normal View History

<?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;
}
}