Entity.LpItemView.dcm.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Entity\LpItemView:
  2. type: entity
  3. table: c_lp_item_view
  4. repositoryClass: Entity\Repository\LpItemViewRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: bigint
  14. nullable: false
  15. lp_item_id:
  16. type: integer
  17. unsigned: false
  18. nullable: false
  19. lp_view_id:
  20. type: integer
  21. unsigned: false
  22. nullable: false
  23. view_count:
  24. type: integer
  25. unsigned: false
  26. nullable: false
  27. start_time:
  28. type: integer
  29. unsigned: false
  30. nullable: false
  31. total_time:
  32. type: integer
  33. unsigned: false
  34. nullable: false
  35. score:
  36. type: float
  37. nullable: false
  38. status:
  39. type: string
  40. length: 32
  41. fixed: true
  42. nullable: false
  43. suspend_data:
  44. type: text
  45. nullable: true
  46. lesson_location:
  47. type: text
  48. nullable: true
  49. core_exit:
  50. type: string
  51. length: 32
  52. fixed: false
  53. nullable: false
  54. max_score:
  55. type: string
  56. length: 8
  57. fixed: false
  58. nullable: true
  59. lifecycleCallbacks:
  60. prePersist:
  61. - before_save