]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Dance.orm.yml
Move hat default value in entity
[airbundle] / Resources / config / doctrine / Dance.orm.yml
1 Rapsys\AirBundle\Entity\Dance:
2 type: entity
3 #repositoryClass: Rapsys\AirBundle\Repository\DanceRepository
4 table: dances
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 title:
14 type: string
15 length: 32
16 created:
17 type: datetime
18 updated:
19 type: datetime
20 oneToMany:
21 applications:
22 targetEntity: Rapsys\AirBundle\Entity\Application
23 mappedBy: dance
24 manyToMany:
25 users:
26 targetEntity: Rapsys\AirBundle\Entity\User
27 mappedBy: dances
28 lifecycleCallbacks:
29 preUpdate: ['preUpdate']