Entity.CalendarEvent.dcm.yml 865 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Entity\CalendarEvent:
  2. type: entity
  3. table: c_calendar_event
  4. repositoryClass: Entity\Repository\CalendarEventRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. title:
  17. type: string
  18. length: 255
  19. fixed: false
  20. nullable: false
  21. content:
  22. type: text
  23. nullable: true
  24. start_date:
  25. type: datetime
  26. nullable: false
  27. end_date:
  28. type: datetime
  29. nullable: false
  30. parent_event_id:
  31. type: integer
  32. unsigned: false
  33. nullable: true
  34. session_id:
  35. type: integer
  36. unsigned: false
  37. nullable: false
  38. all_day:
  39. type: integer
  40. unsigned: false
  41. nullable: false
  42. lifecycleCallbacks:
  43. prePersist:
  44. - before_save