src/Entity/History.php line 17

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity;
  4. use App\Repository\HistoryRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7. * History.
  8. *
  9. * @ORM\Table(name="History")
  10. *
  11. * @ORM\Entity(repositoryClass=HistoryRepository::class)
  12. */
  13. class History
  14. {
  15. /**
  16. * @var int
  17. *
  18. * @ORM\Column(name="id", type="integer")
  19. *
  20. * @ORM\Id
  21. *
  22. * @ORM\GeneratedValue(strategy="AUTO")
  23. */
  24. private $id;
  25. /**
  26. * @var int
  27. *
  28. * @ORM\Column(name="sidParent", type="integer", nullable=true)
  29. */
  30. private $sidParent;
  31. /**
  32. * @var int
  33. *
  34. * @ORM\Column(name="qidParent", type="integer", nullable=true)
  35. */
  36. private $qidParent;
  37. /**
  38. * @var string
  39. *
  40. * @ORM\Column(name="answerParent", type="string", length=255)
  41. */
  42. private $answerParent;
  43. /**
  44. * @var int
  45. *
  46. * @ORM\Column(name="sidChild", type="integer", nullable=true)
  47. */
  48. private $sidChild;
  49. /**
  50. * @var int
  51. *
  52. * @ORM\Column(name="qidChild", type="integer", nullable=true)
  53. */
  54. private $qidChild;
  55. /**
  56. * @var string
  57. *
  58. * @ORM\Column(name="answerChild", type="string", length=255)
  59. */
  60. private $answerChild;
  61. /**
  62. * @var int
  63. *
  64. * @ORM\Column(name="year", type="integer")
  65. */
  66. private $year;
  67. /**
  68. * @var bool
  69. *
  70. * @ORM\Column(name="isImport", type="boolean", nullable=true)
  71. */
  72. private $isImport;
  73. /**
  74. * Get id.
  75. *
  76. * @return int
  77. */
  78. public function getId()
  79. {
  80. return $this->id;
  81. }
  82. /**
  83. * Set sidParent.
  84. *
  85. * @param int $sidParent
  86. */
  87. public function setSidParent($sidParent): static
  88. {
  89. $this->sidParent = $sidParent;
  90. return $this;
  91. }
  92. /**
  93. * Get sidParent.
  94. *
  95. * @return int
  96. */
  97. public function getSidParent()
  98. {
  99. return $this->sidParent;
  100. }
  101. /**
  102. * Set qidParent.
  103. *
  104. * @param int $qidParent
  105. */
  106. public function setQidParent($qidParent): static
  107. {
  108. $this->qidParent = $qidParent;
  109. return $this;
  110. }
  111. /**
  112. * Get qidParent.
  113. *
  114. * @return int
  115. */
  116. public function getQidParent()
  117. {
  118. return $this->qidParent;
  119. }
  120. /**
  121. * Set answerParent.
  122. *
  123. * @param string $answerParent
  124. */
  125. public function setAnswerParent($answerParent): static
  126. {
  127. $this->answerParent = $answerParent;
  128. return $this;
  129. }
  130. /**
  131. * Get answerParent.
  132. *
  133. * @return string
  134. */
  135. public function getAnswerParent()
  136. {
  137. return $this->answerParent;
  138. }
  139. /**
  140. * Set sidChild.
  141. *
  142. * @param int $sidChild
  143. */
  144. public function setSidChild($sidChild): static
  145. {
  146. $this->sidChild = $sidChild;
  147. return $this;
  148. }
  149. /**
  150. * Get sidChild.
  151. *
  152. * @return int
  153. */
  154. public function getSidChild()
  155. {
  156. return $this->sidChild;
  157. }
  158. /**
  159. * Set qidChild.
  160. *
  161. * @param int $qidChild
  162. */
  163. public function setQidChild($qidChild): static
  164. {
  165. $this->qidChild = $qidChild;
  166. return $this;
  167. }
  168. /**
  169. * Get qidChild.
  170. *
  171. * @return int
  172. */
  173. public function getQidChild()
  174. {
  175. return $this->qidChild;
  176. }
  177. /**
  178. * Set answerChild.
  179. *
  180. * @param string $answerChild
  181. */
  182. public function setAnswerChild($answerChild): static
  183. {
  184. $this->answerChild = $answerChild;
  185. return $this;
  186. }
  187. /**
  188. * Get answerChild.
  189. *
  190. * @return string
  191. */
  192. public function getAnswerChild()
  193. {
  194. return $this->answerChild;
  195. }
  196. /**
  197. * Set year.
  198. *
  199. * @param int $year
  200. */
  201. public function setYear($year): static
  202. {
  203. $this->year = $year;
  204. return $this;
  205. }
  206. /**
  207. * Get year.
  208. *
  209. * @return int
  210. */
  211. public function getYear()
  212. {
  213. return $this->year;
  214. }
  215. /**
  216. * Set isImport.
  217. *
  218. * @param bool $isImport
  219. */
  220. public function setIsImport($isImport): static
  221. {
  222. $this->isImport = $isImport;
  223. return $this;
  224. }
  225. /**
  226. * Get isImport.
  227. *
  228. * @return bool
  229. */
  230. public function getIsImport()
  231. {
  232. return $this->isImport;
  233. }
  234. public function isIsImport(): ?bool
  235. {
  236. return $this->isImport;
  237. }
  238. }