1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumBoard.php

29 lines
487 B
PHP
Raw Normal View History

2008-05-08 18:17:35 +04:00
<?php
2009-01-04 19:15:32 +03:00
namespace Doctrine\Tests\Models\Forum;
2009-01-04 19:15:32 +03:00
/**
* 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;
/**
2010-04-10 02:00:36 +04:00
* @ManyToOne(targetEntity="ForumCategory", inversedBy="boards")
* @JoinColumn(name="category_id", referencedColumnName="id")
*/
public $category;
2008-05-08 18:17:35 +04:00
}