Entity.Survey.dcm.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Entity\Survey:
  2. type: entity
  3. table: c_survey
  4. repositoryClass: Entity\Repository\SurveyRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. survey_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. code:
  17. type: string
  18. length: 20
  19. fixed: false
  20. nullable: true
  21. title:
  22. type: text
  23. nullable: true
  24. subtitle:
  25. type: text
  26. nullable: true
  27. author:
  28. type: string
  29. length: 20
  30. fixed: false
  31. nullable: true
  32. lang:
  33. type: string
  34. length: 20
  35. fixed: false
  36. nullable: true
  37. avail_from:
  38. type: date
  39. nullable: true
  40. avail_till:
  41. type: date
  42. nullable: true
  43. is_shared:
  44. type: string
  45. length: 1
  46. fixed: true
  47. nullable: true
  48. template:
  49. type: string
  50. length: 20
  51. fixed: false
  52. nullable: true
  53. intro:
  54. type: text
  55. nullable: true
  56. surveythanks:
  57. type: text
  58. nullable: true
  59. creation_date:
  60. type: datetime
  61. nullable: false
  62. invited:
  63. type: integer
  64. unsigned: false
  65. nullable: false
  66. answered:
  67. type: integer
  68. unsigned: false
  69. nullable: false
  70. invite_mail:
  71. type: text
  72. nullable: false
  73. reminder_mail:
  74. type: text
  75. nullable: false
  76. mail_subject:
  77. type: string
  78. length: 255
  79. fixed: false
  80. nullable: false
  81. anonymous:
  82. type: string
  83. length: null
  84. fixed: false
  85. nullable: false
  86. access_condition:
  87. type: text
  88. nullable: true
  89. shuffle:
  90. type: boolean
  91. nullable: false
  92. one_question_per_page:
  93. type: boolean
  94. nullable: false
  95. survey_version:
  96. type: string
  97. length: 255
  98. fixed: false
  99. nullable: false
  100. parent_id:
  101. type: integer
  102. unsigned: false
  103. nullable: false
  104. survey_type:
  105. type: integer
  106. unsigned: false
  107. nullable: false
  108. show_form_profile:
  109. type: integer
  110. unsigned: false
  111. nullable: false
  112. form_fields:
  113. type: text
  114. nullable: false
  115. session_id:
  116. type: integer
  117. unsigned: false
  118. nullable: false
  119. lifecycleCallbacks:
  120. prePersist:
  121. - before_save