1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/CMS/CmsComment.php

31 lines
590 B
PHP

<?php
namespace Doctrine\Tests\Models\CMS;
/**
* @DoctrineEntity
* @DoctrineTable(name="cms_comments")
*/
class CmsComment
{
/**
* @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;
}