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

37 lines
702 B
PHP

<?php
#namespace Doctrine\Tests\ORM\Models\Cms;
/**
* @DoctrineEntity
*/
class CmsUser
{
/**
* @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;
}