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