This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Bridge/Doctrine/Fixtures/ItemGroupEntity.php
2011-10-24 18:46:19 -07:00

27 lines
561 B
PHP

<?php
namespace Symfony\Tests\Bridge\Doctrine\Form\Fixtures;
use Doctrine\ORM\Mapping\Id;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
/** @Entity */
class ItemGroupEntity
{
/** @Id @Column(type="integer") */
protected $id;
/** @Column(type="string", nullable=true) */
public $name;
/** @Column(type="string", nullable=true) */
public $group_name;
public function __construct($id, $name, $group_name) {
$this->id = $id;
$this->name = $name;
$this->group_name = $group_name;
}
}