Entity.ReservationMain.dcm.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Entity\ReservationMain:
  2. type: entity
  3. table: reservation_main
  4. repositoryClass: Entity\Repository\ReservationMainRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. subid:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. item_id:
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. auto_accept:
  22. type: boolean
  23. nullable: false
  24. max_users:
  25. type: integer
  26. unsigned: false
  27. nullable: false
  28. start_at:
  29. type: datetime
  30. nullable: false
  31. end_at:
  32. type: datetime
  33. nullable: false
  34. subscribe_from:
  35. type: datetime
  36. nullable: false
  37. subscribe_until:
  38. type: datetime
  39. nullable: false
  40. subscribers:
  41. type: integer
  42. unsigned: false
  43. nullable: false
  44. notes:
  45. type: text
  46. nullable: false
  47. timepicker:
  48. type: boolean
  49. nullable: false
  50. timepicker_min:
  51. type: integer
  52. unsigned: false
  53. nullable: false
  54. timepicker_max:
  55. type: integer
  56. unsigned: false
  57. nullable: false
  58. lifecycleCallbacks:
  59. prePersist:
  60. - before_save