Entity.Notebook.dcm.yml 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Entity\Notebook:
  2. type: entity
  3. table: c_notebook
  4. repositoryClass: Entity\Repository\NotebookRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. notebook_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. user_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. course:
  21. type: string
  22. length: 40
  23. fixed: false
  24. nullable: false
  25. session_id:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. title:
  30. type: string
  31. length: 255
  32. fixed: false
  33. nullable: false
  34. description:
  35. type: text
  36. nullable: false
  37. creation_date:
  38. type: datetime
  39. nullable: false
  40. update_date:
  41. type: datetime
  42. nullable: false
  43. status:
  44. type: integer
  45. unsigned: false
  46. nullable: true
  47. lifecycleCallbacks:
  48. prePersist:
  49. - before_save