Organization.php 493 B

12345678910111213141516171819
  1. <?php
  2. namespace JMS\Serializer\Tests\Fixtures\Doctrine\SingleTableInheritance;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity
  6. * @ORM\InheritanceType("SINGLE_TABLE")
  7. * @ORM\DiscriminatorColumn(name="type", type="string")
  8. * @ORM\DiscriminatorMap({
  9. * "school" = "JMS\Serializer\Tests\Fixtures\Doctrine\SingleTableInheritance\School"
  10. * })
  11. */
  12. abstract class Organization
  13. {
  14. /** @ORM\Id @ORM\GeneratedValue(strategy = "AUTO") @ORM\Column(type = "integer") */
  15. private $id;
  16. }