1
0
mirror of synced 2025-01-20 23:41:39 +03:00

28 lines
477 B
PHP
Raw Normal View History

2015-01-22 17:32:03 +03:00
<?php
namespace Doctrine\Tests\Models\DDC3346;
/**
* @Entity
* @Table(name="ddc3346_articles")
*/
class DDC3346Article
{
const CLASSNAME = __CLASS__;
2015-01-22 17:32:03 +03:00
/**
* @Id
* @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
2015-01-22 17:32:03 +03:00
/**
* @var DDC3346Author
*
2015-01-22 17:32:03 +03:00
* @ManyToOne(targetEntity="DDC3346Author", inversedBy="articles")
* @JoinColumn(name="user_id", referencedColumnName="id")
*/
public $user;
}