Entity.Wiki.dcm.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Entity\Wiki:
  2. type: entity
  3. table: c_wiki
  4. repositoryClass: Entity\Repository\WikiRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. page_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. reflink:
  21. type: string
  22. length: 255
  23. fixed: false
  24. nullable: false
  25. title:
  26. type: string
  27. length: 255
  28. fixed: false
  29. nullable: false
  30. content:
  31. type: text
  32. nullable: false
  33. user_id:
  34. type: integer
  35. unsigned: false
  36. nullable: false
  37. group_id:
  38. type: integer
  39. unsigned: false
  40. nullable: true
  41. dtime:
  42. type: datetime
  43. nullable: false
  44. addlock:
  45. type: integer
  46. unsigned: false
  47. nullable: false
  48. editlock:
  49. type: integer
  50. unsigned: false
  51. nullable: false
  52. visibility:
  53. type: integer
  54. unsigned: false
  55. nullable: false
  56. addlock_disc:
  57. type: integer
  58. unsigned: false
  59. nullable: false
  60. visibility_disc:
  61. type: integer
  62. unsigned: false
  63. nullable: false
  64. ratinglock_disc:
  65. type: integer
  66. unsigned: false
  67. nullable: false
  68. assignment:
  69. type: integer
  70. unsigned: false
  71. nullable: false
  72. comment:
  73. type: text
  74. nullable: false
  75. progress:
  76. type: text
  77. nullable: false
  78. score:
  79. type: integer
  80. unsigned: false
  81. nullable: true
  82. version:
  83. type: integer
  84. unsigned: false
  85. nullable: true
  86. is_editing:
  87. type: integer
  88. unsigned: false
  89. nullable: false
  90. time_edit:
  91. type: datetime
  92. nullable: false
  93. hits:
  94. type: integer
  95. unsigned: false
  96. nullable: true
  97. linksto:
  98. type: text
  99. nullable: false
  100. tag:
  101. type: text
  102. nullable: false
  103. user_ip:
  104. type: string
  105. length: 39
  106. fixed: false
  107. nullable: false
  108. session_id:
  109. type: integer
  110. unsigned: false
  111. nullable: true
  112. lifecycleCallbacks:
  113. prePersist:
  114. - before_save