1
0
mirror of synced 2025-01-08 10:07:10 +03:00
doctrine2/tests/Doctrine/Tests/Models/CMS/CmsComment.php

31 lines
590 B
PHP
Raw Normal View History

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