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

27 lines
446 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;
/**
* 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;
2008-05-08 18:17:35 +04:00
}