]> Raphaƫl G. Git Repositories - userbundle/blob - config/doctrine/Group.orm.yml
Add short syntax note
[userbundle] / config / doctrine / Group.orm.yml
1 Rapsys\UserBundle\Entity\Group:
2 type: mappedSuperclass
3 # table: groups
4 id:
5 id:
6 type: integer
7 generator:
8 strategy: AUTO
9 options:
10 unsigned: true
11 fields:
12 title:
13 type: string
14 length: 16
15 created:
16 type: datetime
17 updated:
18 type: datetime
19 # manyToMany:
20 # users:
21 # targetEntity: User
22 # mappedBy: groups
23 lifecycleCallbacks:
24 preUpdate: ['preUpdate']