18 lines
316 B
PHP
Executable File
18 lines
316 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* @DoctrineEntity
|
|
*/
|
|
class CmsPhonenumber implements Doctrine_ORM_Entity
|
|
{
|
|
/**
|
|
* @DoctrineColumn(type="varchar", length=50)
|
|
* @DoctrineId
|
|
*/
|
|
public $phonenumber;
|
|
/**
|
|
* @DoctrineManyToOne(targetEntity="CmsUser", joinColumns={"user_id" = "id"})
|
|
*/
|
|
public $user;
|
|
}
|