]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/User.orm.yml
Prefix title with site title
[airbundle] / Resources / config / doctrine / User.orm.yml
1 Rapsys\AirBundle\Entity\User:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\UserRepository
4 table: users
5 fields:
6 phone:
7 type: string
8 length: 16
9 nullable: true
10 donation:
11 type: string
12 length: 254
13 nullable: true
14 site:
15 type: string
16 length: 254
17 nullable: true
18 oneToMany:
19 # votes:
20 # targetEntity: Rapsys\AirBundle\Entity\Vote
21 # mappedBy: user
22 applications:
23 targetEntity: Rapsys\AirBundle\Entity\Application
24 mappedBy: user
25 snippets:
26 targetEntity: Rapsys\AirBundle\Entity\Snippet
27 mappedBy: user
28 manyToMany:
29 subscribers:
30 targetEntity: Rapsys\AirBundle\Entity\User
31 inversedBy: subscriptions
32 joinTable:
33 name: subscriptions
34 joinColumns:
35 id:
36 name: user_id
37 inverseJoinColumns:
38 id:
39 name: subscriber_id
40 subscriptions:
41 targetEntity: Rapsys\AirBundle\Entity\User
42 mappedBy: subscribers
43 # manyToMany:
44 # groups:
45 # targetEntity: Group
46 # inversedBy: users
47 # joinTable:
48 # name: groups_users
49 associationOverride:
50 groups:
51 joinTable:
52 name: groups_users
53 joinColumns:
54 id:
55 name: user_id
56 inverseJoinColumns:
57 id:
58 name: group_id