1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumBoard.php

29 lines
466 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;
/**
* @ManyToOne(targetEntity="ForumCategory")
* @JoinColumn(name="category_id", referencedColumnName="id")
*/
public $category;
2008-05-08 18:17:35 +04:00
}