1
0
mirror of synced 2025-01-19 15:01:40 +03:00

18 lines
368 B
PHP

<?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
{
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id;
}