1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumBoard.php

29 lines
522 B
PHP

<?php
namespace Doctrine\Tests\Models\Forum;
/**
* Represents a board in a forum.
*
* @author robo
* @DoctrineEntity
* @DoctrineTable(name="forum_boards")
*/
class ForumBoard
{
/**
* @DoctrineId
* @DoctrineColumn(type="integer")
*/
public $id;
/**
* @DoctrineColumn(type="integer")
*/
public $position;
/**
* @DoctrineManyToOne(targetEntity="ForumCategory")
* @DoctrineJoinColumn(name="category_id", referencedColumnName="id")
*/
public $category;
}