Entity.CourseRequest.dcm.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Entity\CourseRequest:
  2. type: entity
  3. table: course_request
  4. repositoryClass: Entity\Repository\CourseRequestRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. code:
  14. type: string
  15. length: 40
  16. fixed: false
  17. nullable: false
  18. user_id:
  19. type: integer
  20. unsigned: false
  21. nullable: false
  22. directory:
  23. type: string
  24. length: 40
  25. fixed: false
  26. nullable: true
  27. db_name:
  28. type: string
  29. length: 40
  30. fixed: false
  31. nullable: true
  32. course_language:
  33. type: string
  34. length: 20
  35. fixed: false
  36. nullable: true
  37. title:
  38. type: string
  39. length: 250
  40. fixed: false
  41. nullable: true
  42. description:
  43. type: text
  44. nullable: true
  45. category_code:
  46. type: string
  47. length: 40
  48. fixed: false
  49. nullable: true
  50. tutor_name:
  51. type: string
  52. length: 200
  53. fixed: false
  54. nullable: true
  55. visual_code:
  56. type: string
  57. length: 40
  58. fixed: false
  59. nullable: true
  60. request_date:
  61. type: datetime
  62. nullable: false
  63. objetives:
  64. type: text
  65. nullable: true
  66. target_audience:
  67. type: text
  68. nullable: true
  69. status:
  70. type: integer
  71. unsigned: false
  72. nullable: false
  73. info:
  74. type: integer
  75. unsigned: false
  76. nullable: false
  77. exemplary_content:
  78. type: integer
  79. unsigned: false
  80. nullable: false
  81. lifecycleCallbacks:
  82. prePersist:
  83. - before_save