projects
/
zf2.biz
/
galerie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rajout de doctrine/orm
[zf2.biz/galerie.git]
/
vendor
/
doctrine
/
orm
/
tests
/
Doctrine
/
Tests
/
Models
/
Quote
/
Phone.php
1
<?php
2
3
namespace Doctrine\Tests\Models\Quote;
4
5
/**
6
* @Entity
7
* @Table(name="`quote-phone`")
8
*/
9
class Phone
10
{
11
12
/**
13
* @Id
14
* @Column(name="`phone-number`")
15
*/
16
public $number;
17
18
/**
19
* @ManyToOne(targetEntity="User", inversedBy="phones")
20
* @JoinColumn(name="`user-id`", referencedColumnName="`user-id`")
21
*/
22
public $user;
23
24
}