QuestionFieldOptions.php 3.3 KB

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