1
0
mirror of synced 2025-01-19 06:51:40 +03:00
Alexander Orabey f92307d06d problem with LimitSubqueryOutputWalker when use InheritanceType
Conflicts:
	tests/Doctrine/Tests/OrmFunctionalTestCase.php
2015-03-31 21:36:32 +01:00

28 lines
462 B
PHP

<?php
namespace Doctrine\Tests\Models\Pagination;
/**
* @package Doctrine\Tests\Models\Pagination
*
* @Entity
* @Table(name="pagination_user")
* @InheritanceType("SINGLE_TABLE")
* @DiscriminatorColumn(name="type", type="string")
* @DiscriminatorMap({"user1"="User1"})
*/
abstract class User
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
private $id;
/**
* @Column(type="string")
*/
public $name;
}