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

28 lines
556 B
PHP
Raw Normal View History

<?php
2011-11-08 07:37:19 +00:00
namespace Symfony\Tests\Bridge\Doctrine\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) */
2011-10-25 17:12:57 +01:00
public $groupName;
2011-10-25 17:12:57 +01:00
public function __construct($id, $name, $groupName)
{
$this->id = $id;
$this->name = $name;
2011-10-25 17:12:57 +01:00
$this->groupName = $groupName;
}
}