]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/User.orm.yml
Add location default values
[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 city:
7 type: string
8 length: 64
9 nullable: true
10 phone:
11 type: string
12 length: 16
13 nullable: true
14 pseudonym:
15 type: string
16 length: 32
17 nullable: true
18 zipcode:
19 type: string
20 length: 5
21 nullable: true
22 oneToMany:
23 applications:
24 targetEntity: Rapsys\AirBundle\Entity\Application
25 mappedBy: user
26 snippets:
27 targetEntity: Rapsys\AirBundle\Entity\Snippet
28 mappedBy: user
29 googleTokens:
30 targetEntity: Rapsys\AirBundle\Entity\GoogleToken
31 mappedBy: user
32 manyToMany:
33 dances:
34 targetEntity: Rapsys\AirBundle\Entity\Dance
35 inversedBy: users
36 joinTable:
37 name: users_dances
38 joinColumns:
39 id:
40 name: user_id
41 inverseJoinColumns:
42 id:
43 name: dance_id
44 subscribers:
45 targetEntity: Rapsys\AirBundle\Entity\User
46 mappedBy: subscriptions
47 subscriptions:
48 targetEntity: Rapsys\AirBundle\Entity\User
49 inversedBy: subscribers
50 joinTable:
51 name: users_subscriptions
52 joinColumns:
53 id:
54 name: user_id
55 inverseJoinColumns:
56 id:
57 name: subscriber_id
58 locations:
59 targetEntity: Rapsys\AirBundle\Entity\Location
60 inversedBy: users
61 joinTable:
62 name: users_locations
63 joinColumns:
64 id:
65 name: user_id
66 inverseJoinColumns:
67 id:
68 name: location_id
69 manyToOne:
70 country:
71 targetEntity: Rapsys\AirBundle\Entity\Country
72 inversedBy: users
73 # manyToMany:
74 # groups:
75 # targetEntity: Group
76 # inversedBy: users
77 # joinTable:
78 # name: groups_users
79 associationOverride:
80 groups:
81 joinTable:
82 name: users_groups
83 joinColumns:
84 id:
85 name: user_id
86 inverseJoinColumns:
87 id:
88 name: group_id