1
0
mirror of synced 2025-02-03 05:49:25 +03:00
doctrine2/tests/Doctrine/Tests/Models/Generic/NonAlphaColumnsEntity.php

30 lines
504 B
PHP

<?php
namespace Doctrine\Tests\Models\Generic;
/**
* @Entity
* @Table(name="`not-a-simple-entity`")
*/
class NonAlphaColumnsEntity
{
/**
* @Id
* @Column(type="integer", name="`simple-entity-id`")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="string", name="`simple-entity-value`")
*/
public $value;
/**
* @param string $value
*/
public function __construct($value)
{
$this->value = $value;
}
}