20 lines
493 B
PHP
20 lines
493 B
PHP
|
<?php
|
||
|
|
||
|
namespace JMS\Serializer\Tests\Fixtures\Doctrine\SingleTableInheritance;
|
||
|
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
|
||
|
/**
|
||
|
* @ORM\Entity
|
||
|
* @ORM\InheritanceType("SINGLE_TABLE")
|
||
|
* @ORM\DiscriminatorColumn(name="type", type="string")
|
||
|
* @ORM\DiscriminatorMap({
|
||
|
* "school" = "JMS\Serializer\Tests\Fixtures\Doctrine\SingleTableInheritance\School"
|
||
|
* })
|
||
|
*/
|
||
|
abstract class Organization
|
||
|
{
|
||
|
/** @ORM\Id @ORM\GeneratedValue(strategy = "AUTO") @ORM\Column(type = "integer") */
|
||
|
private $id;
|
||
|
}
|