1
0
mirror of synced 2025-01-06 00:57:10 +03:00
doctrine2/tests/models/cms/CmsUser.php

37 lines
705 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="varchar", length=50)
*/
public $status;
/**
* @DoctrineColumn(type="varchar", length=255)
*/
public $username;
/**
* @DoctrineColumn(type="varchar", length=255)
*/
public $name;
/**
* @DoctrineOneToMany(targetEntity="CmsPhonenumber", mappedBy="user")
*/
public $phonenumbers;
/**
* @DoctrineOneToMany(targetEntity="CmsArticle", mappedBy="user")
*/
public $articles;
}