Entity.CourseRequest.dcm.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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