1
0
mirror of synced 2025-02-03 22:09:26 +03:00
2016-12-08 18:15:48 +01:00

27 lines
453 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC3346;
/**
* @Entity
* @Table(name="ddc3346_users")
*/
class DDC3346Author
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
public $id;
/**
* @Column(type="string", length=255, unique=true)
*/
public $username;
/**
* @OneToMany(targetEntity="DDC3346Article", mappedBy="user", fetch="EAGER", cascade={"detach"})
*/
public $articles = [];
}