28 lines
485 B
PHP
28 lines
485 B
PHP
<?php
|
|
|
|
namespace Doctrine\Tests\Models\Forum;
|
|
|
|
/**
|
|
* Represents a board in a forum.
|
|
*
|
|
* @author robo
|
|
* @DoctrineEntity
|
|
*/
|
|
class ForumBoard
|
|
{
|
|
/**
|
|
* @DoctrineId
|
|
* @DoctrineColumn(type="integer")
|
|
*/
|
|
public $id;
|
|
/**
|
|
* @DoctrineColumn(type="integer")
|
|
*/
|
|
public $position;
|
|
/**
|
|
* @DoctrineManyToOne(targetEntity="Doctrine\Tests\Models\Forum\ForumCategory",
|
|
joinColumns={"category_id" = "id"})
|
|
*/
|
|
public $category;
|
|
}
|