X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b80a4b93b61544e110af7dcd2e40e4c95863a82e..1defbd69c23e542c1727024dcf02d91dcea87d3a:/Resources/config/doctrine/Slot.orm.yaml diff --git a/Resources/config/doctrine/Slot.orm.yaml b/Resources/config/doctrine/Slot.orm.yaml new file mode 100644 index 0000000..c4ff511 --- /dev/null +++ b/Resources/config/doctrine/Slot.orm.yaml @@ -0,0 +1,24 @@ +Rapsys\AirBundle\Entity\Slot: + type: entity + #repositoryClass: Rapsys\AirBundle\Repository\SlotRepository + table: slots + id: + id: + type: integer + generator: + strategy: AUTO + options: + unsigned: true + fields: + begin: + type: time + end: + type: time + created: + type: datetime + updated: + type: datetime + oneToMany: + sessions: + targetEntity: Rapsys\AirBundle\Entity\Session + mappedBy: slot