]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Slot.orm.yml
Add entity repository
[airbundle] / Resources / config / doctrine / Slot.orm.yml
1 Rapsys\AirBundle\Entity\Slot:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\SlotRepository
4 table: slots
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: 16
16 created:
17 type: datetime
18 updated:
19 type: datetime
20 oneToMany:
21 sessions:
22 targetEntity: Rapsys\AirBundle\Entity\Session
23 mappedBy: slot
24 lifecycleCallbacks:
25 preUpdate: ['preUpdate']