2015-04-19 16:43:28 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\Models\DDC3699;
|
|
|
|
|
2015-07-15 21:46:23 +01:00
|
|
|
/** @Entity @Table(name="ddc3699_child") */
|
2015-04-19 16:43:28 +03:00
|
|
|
class DDC3699Child extends DDC3699Parent
|
|
|
|
{
|
2015-07-15 21:46:23 +01:00
|
|
|
/** @Id @Column(type="integer") */
|
|
|
|
public $id;
|
2015-04-19 16:43:28 +03:00
|
|
|
|
2015-07-15 21:46:23 +01:00
|
|
|
/** @Column(type="string") */
|
|
|
|
public $childField;
|
2015-04-19 16:43:28 +03:00
|
|
|
|
2015-07-15 21:46:23 +01:00
|
|
|
/** @OneToOne(targetEntity="DDC3699RelationOne", inversedBy="child") */
|
|
|
|
public $oneRelation;
|
2015-04-19 16:43:28 +03:00
|
|
|
|
2015-07-15 21:46:23 +01:00
|
|
|
/** @OneToMany(targetEntity="DDC3699RelationMany", mappedBy="child") */
|
|
|
|
public $relations;
|
2016-12-08 18:01:04 +01:00
|
|
|
}
|