1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumBoard.php
Roman S. Borschel 7cc56c45d3 [DDC-193] Fixed.
2010-04-10 00:00:36 +02:00

29 lines
487 B
PHP

<?php
namespace Doctrine\Tests\Models\Forum;
/**
* Represents a board in a forum.
*
* @author robo
* @Entity
* @Table(name="forum_boards")
*/
class ForumBoard
{
/**
* @Id
* @Column(type="integer")
*/
public $id;
/**
* @Column(type="integer")
*/
public $position;
/**
* @ManyToOne(targetEntity="ForumCategory", inversedBy="boards")
* @JoinColumn(name="category_id", referencedColumnName="id")
*/
public $category;
}