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

29 lines
502 B
PHP
Raw Normal View History

2008-05-08 18:17:35 +04:00
<?php
#namespace Doctrine\Tests\Models\CMS;
/**
* @DoctrineEntity
*/
class CmsComment
2008-05-08 18:17:35 +04:00
{
/**
* @DoctrineColumn(type="integer")
* @DoctrineId
* @DoctrineIdGenerator("auto")
*/
public $id;
/**
* @DoctrineColumn(type="string", length=255)
*/
public $topic;
/**
* @DoctrineColumn(type="string")
*/
public $text;
/**
* @DoctrineManyToOne(targetEntity="CmsArticle", joinColumns={"article_id" = "id"})
*/
public $article;
2008-05-08 18:17:35 +04:00
}