ExtraFieldValues.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6. * ExtraFieldValues
  7. *
  8. * @ORM\MappedSuperclass
  9. */
  10. class ExtraFieldValues
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="field_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  24. */
  25. private $fieldId;
  26. /**
  27. * @var \DateTime
  28. *
  29. * @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  30. */
  31. private $tms;
  32. /**
  33. * @var integer
  34. *
  35. * @ORM\Column(name="user_id", type="string", precision=0, scale=0, nullable=false, unique=false)
  36. */
  37. private $userId;
  38. /**
  39. * @var string
  40. * @Gedmo\Versioned
  41. *
  42. * @ORM\Column(name="comment", type="string", precision=0, scale=0, nullable=true, unique=false)
  43. */
  44. private $comment;
  45. /**
  46. * Set comment
  47. *
  48. * @param string $comment
  49. * @return ExtraFieldValues
  50. */
  51. public function setComment($comment)
  52. {
  53. $this->comment = $comment;
  54. return $this;
  55. }
  56. /**
  57. * Get comment
  58. *
  59. * @return string
  60. */
  61. public function getComment()
  62. {
  63. return $this->comment;
  64. }
  65. /**
  66. * Get id
  67. *
  68. * @return integer
  69. */
  70. public function getId()
  71. {
  72. return $this->id;
  73. }
  74. /**
  75. * Set questionId
  76. *
  77. * @param integer $questionId
  78. * @return ExtraFieldValues
  79. */
  80. public function setQuestionId($questionId)
  81. {
  82. $this->questionId = $questionId;
  83. return $this;
  84. }
  85. /**
  86. * Get questionId
  87. *
  88. * @return integer
  89. */
  90. public function getQuestionId()
  91. {
  92. return $this->questionId;
  93. }
  94. /**
  95. * Set fieldId
  96. *
  97. * @param integer $fieldId
  98. * @return ExtraFieldValues
  99. */
  100. public function setFieldId($fieldId)
  101. {
  102. $this->fieldId = $fieldId;
  103. return $this;
  104. }
  105. /**
  106. * Get fieldId
  107. *
  108. * @return integer
  109. */
  110. public function getFieldId()
  111. {
  112. return $this->fieldId;
  113. }
  114. /**
  115. * Set tms
  116. *
  117. * @param \DateTime $tms
  118. * @return ExtraFieldValues
  119. */
  120. public function setTms($tms)
  121. {
  122. $this->tms = $tms;
  123. return $this;
  124. }
  125. /**
  126. * Get tms
  127. *
  128. * @return \DateTime
  129. */
  130. public function getTms()
  131. {
  132. return $this->tms;
  133. }
  134. /**
  135. * Set questionId
  136. *
  137. * @param integer $questionId
  138. * @return QuestionFieldValues
  139. */
  140. public function setUserId($id)
  141. {
  142. $this->userId = $id;
  143. return $this;
  144. }
  145. /**
  146. * Get questionId
  147. *
  148. * @return integer
  149. */
  150. public function getUserId()
  151. {
  152. return $this->userId;
  153. }
  154. }