]> Raphaƫl G. Git Repositories - userbundle/blob - config/doctrine/Civility.orm.yml
Version 0.5.2
[userbundle] / config / doctrine / Civility.orm.yml
1 Rapsys\UserBundle\Entity\Civility:
2 type: mappedSuperclass
3 # table: civilities
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 # oneToMany:
20 # users:
21 # targetEntity: User
22 # mappedBy: title
23 lifecycleCallbacks:
24 preUpdate: ['preUpdate']