1
0
mirror of synced 2025-02-03 22:09:26 +03:00

16 lines
334 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
/**
* @Entity
* @Table(name="one_to_one_single_table_inheritance_pet")
* @InheritanceType("SINGLE_TABLE")
* @DiscriminatorMap({"cat" = "Cat"})
*/
abstract class Pet
{
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id;
}