]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/User.orm.yml
Use prev and next links
[blogbundle] / Resources / config / doctrine / User.orm.yml
1 Rapsys\BlogBundle\Entity\User:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\UserRepository
4 table: users
5 fields:
6 pseudonym:
7 type: string
8 length: 64
9 nullable: true
10 slug:
11 type: string
12 length: 64
13 unique: true
14 nullable: true
15 oneToMany:
16 articles:
17 targetEntity: Rapsys\BlogBundle\Entity\Article
18 mappedBy: user
19 user_translations:
20 targetEntity: Rapsys\BlogBundle\Entity\UserTranslation
21 mappedBy: user
22 # manyToMany:
23 # groups:
24 # targetEntity: Group
25 # inversedBy: users
26 # joinTable:
27 # name: users_groups
28 associationOverride:
29 groups:
30 joinTable:
31 name: users_groups
32 joinColumns:
33 id:
34 name: user_id
35 inverseJoinColumns:
36 id:
37 name: group_id