Entity.Course.dcm.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Entity\Course:
  2. type: entity
  3. table: course
  4. repositoryClass: Entity\Repository\CourseRepository
  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. directory:
  19. type: string
  20. length: 40
  21. fixed: false
  22. nullable: true
  23. db_name:
  24. type: string
  25. length: 40
  26. fixed: false
  27. nullable: true
  28. course_language:
  29. type: string
  30. length: 20
  31. fixed: false
  32. nullable: true
  33. title:
  34. type: string
  35. length: 250
  36. fixed: false
  37. nullable: true
  38. description:
  39. type: text
  40. nullable: true
  41. category_code:
  42. type: string
  43. length: 40
  44. fixed: false
  45. nullable: true
  46. visibility:
  47. type: boolean
  48. nullable: true
  49. show_score:
  50. type: integer
  51. unsigned: false
  52. nullable: false
  53. tutor_name:
  54. type: string
  55. length: 200
  56. fixed: false
  57. nullable: true
  58. visual_code:
  59. type: string
  60. length: 40
  61. fixed: false
  62. nullable: true
  63. department_name:
  64. type: string
  65. length: 30
  66. fixed: false
  67. nullable: true
  68. department_url:
  69. type: string
  70. length: 180
  71. fixed: false
  72. nullable: true
  73. disk_quota:
  74. type: bigint
  75. nullable: true
  76. last_visit:
  77. type: datetime
  78. nullable: true
  79. last_edit:
  80. type: datetime
  81. nullable: true
  82. creation_date:
  83. type: datetime
  84. nullable: true
  85. expiration_date:
  86. type: datetime
  87. nullable: true
  88. target_course_code:
  89. type: string
  90. length: 40
  91. fixed: false
  92. nullable: true
  93. subscribe:
  94. type: boolean
  95. nullable: false
  96. unsubscribe:
  97. type: boolean
  98. nullable: false
  99. registration_code:
  100. type: string
  101. length: 255
  102. fixed: false
  103. nullable: false
  104. legal:
  105. type: text
  106. nullable: false
  107. activate_legal:
  108. type: integer
  109. unsigned: false
  110. nullable: false
  111. course_type_id:
  112. type: integer
  113. unsigned: false
  114. nullable: true
  115. lifecycleCallbacks:
  116. prePersist:
  117. - before_save