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

<?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")
* @JoinColumn(name="category_id", referencedColumnName="id")
*/
public $category;
}