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

37 lines
702 B
PHP
Raw Normal View History

2008-02-09 02:20:35 +03:00
<?php
#namespace Doctrine\Tests\ORM\Models\Cms;
/**
* @DoctrineEntity
*/
class CmsUser
2008-02-09 02:20:35 +03:00
{
/**
* @DoctrineId
* @DoctrineColumn(type="integer")
* @DoctrineIdGenerator("auto")
*/
public $id;
/**
* @DoctrineColumn(type="string", length=50)
*/
public $status;
/**
* @DoctrineColumn(type="string", length=255)
*/
public $username;
/**
* @DoctrineColumn(type="string", length=255)
*/
public $name;
/**
* @DoctrineOneToMany(targetEntity="CmsPhonenumber", mappedBy="user")
*/
public $phonenumbers;
/**
* @DoctrineOneToMany(targetEntity="CmsArticle", mappedBy="user")
*/
public $articles;
}