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