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

30 lines
567 B
PHP

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