]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/User.orm.yml
Add common toolbox
[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 oneToMany:
10 votes:
11 targetEntity: Rapsys\AirBundle\Entity\Vote
12 mappedBy: user
13 applications:
14 targetEntity: Rapsys\AirBundle\Entity\Application
15 mappedBy: user
16 # manyToMany:
17 # groups:
18 # targetEntity: Group
19 # inversedBy: users
20 # joinTable:
21 # name: groups_users
22 associationOverride:
23 groups:
24 joinTable:
25 name: groups_users
26 joinColumns:
27 id:
28 name: user_id
29 inverseJoinColumns:
30 id:
31 name: group_id