Entity.SysAnnouncement.dcm.yml 940 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Entity\SysAnnouncement:
  2. type: entity
  3. table: sys_announcement
  4. repositoryClass: Entity\Repository\SysAnnouncementRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. date_start:
  14. type: datetime
  15. nullable: false
  16. date_end:
  17. type: datetime
  18. nullable: false
  19. visible_teacher:
  20. type: boolean
  21. nullable: false
  22. visible_student:
  23. type: boolean
  24. nullable: false
  25. visible_guest:
  26. type: boolean
  27. nullable: false
  28. title:
  29. type: string
  30. length: 250
  31. fixed: false
  32. nullable: false
  33. content:
  34. type: text
  35. nullable: false
  36. lang:
  37. type: string
  38. length: 70
  39. fixed: false
  40. nullable: true
  41. access_url_id:
  42. type: integer
  43. unsigned: false
  44. nullable: false
  45. lifecycleCallbacks:
  46. prePersist:
  47. - before_save