1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/models/cms/CmsPhonenumber.php

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;
}