]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/User.orm.yml
Create monde morning as before session
[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 oneToMany:
11 applications:
12 targetEntity: Rapsys\AirBundle\Entity\Application
13 mappedBy: user
14 snippets:
15 targetEntity: Rapsys\AirBundle\Entity\Snippet
16 mappedBy: user
17 manyToMany:
18 subscribers:
19 targetEntity: Rapsys\AirBundle\Entity\User
20 inversedBy: subscriptions
21 joinTable:
22 name: subscriptions
23 joinColumns:
24 id:
25 name: user_id
26 inverseJoinColumns:
27 id:
28 name: subscriber_id
29 subscriptions:
30 targetEntity: Rapsys\AirBundle\Entity\User
31 mappedBy: subscribers
32 # manyToMany:
33 # groups:
34 # targetEntity: Group
35 # inversedBy: users
36 # joinTable:
37 # name: groups_users
38 associationOverride:
39 groups:
40 joinTable:
41 name: groups_users
42 joinColumns:
43 id:
44 name: user_id
45 inverseJoinColumns:
46 id:
47 name: group_id