Rapsys\AirBundle\Entity\Slot:
type: entity
- #repositoryClass: Rapsys\AirBundle\Repository\SlotRepository
+ repositoryClass: Rapsys\AirBundle\Repository\SlotRepository
table: slots
id:
id:
options:
unsigned: true
fields:
- begin:
- type: time
- length:
- type: time
+ title:
+ type: string
+ length: 16
created:
type: datetime
updated:
sessions:
targetEntity: Rapsys\AirBundle\Entity\Session
mappedBy: slot
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']