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

30 lines
567 B
PHP
Raw Normal View History

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