1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/models/forum/ForumBoard.php

27 lines
446 B
PHP
Executable File

<?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="ForumCategory", joinColumns={"category_id" = "id"})
*/
public $category;
}