]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Slot.orm.yml
Add __toString magic method
[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 begin:
14 type: time
15 length:
16 type: time
17 created:
18 type: datetime
19 updated:
20 type: datetime
21 oneToMany:
22 sessions:
23 targetEntity: Rapsys\AirBundle\Entity\Session
24 mappedBy: slot