Entity.ReservationItemRights.dcm.yml 637 B

123456789101112131415161718192021222324252627282930
  1. Entity\ReservationItemRights:
  2. type: entity
  3. table: reservation_item_rights
  4. repositoryClass: Entity\Repository\ReservationItemRightsRepository
  5. fields:
  6. item_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. class_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. edit_right:
  17. type: boolean
  18. nullable: false
  19. delete_right:
  20. type: boolean
  21. nullable: false
  22. m_reservation:
  23. type: boolean
  24. nullable: false
  25. view_right:
  26. type: boolean
  27. nullable: false
  28. lifecycleCallbacks:
  29. prePersist:
  30. - before_save