Entity.CourseCategory.dcm.yml 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Entity\CourseCategory:
  2. type: entity
  3. table: course_category
  4. repositoryClass: Entity\Repository\CourseCategoryRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. name:
  14. type: string
  15. length: 100
  16. fixed: false
  17. nullable: false
  18. code:
  19. type: string
  20. length: 40
  21. fixed: false
  22. nullable: false
  23. parent_id:
  24. type: string
  25. length: 40
  26. fixed: false
  27. nullable: true
  28. tree_pos:
  29. type: integer
  30. unsigned: false
  31. nullable: true
  32. children_count:
  33. type: smallint
  34. nullable: true
  35. auth_course_child:
  36. type: string
  37. length: null
  38. fixed: false
  39. nullable: true
  40. auth_cat_child:
  41. type: string
  42. length: null
  43. fixed: false
  44. nullable: true
  45. lifecycleCallbacks:
  46. prePersist:
  47. - before_save