src/Entity/Card.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CardRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=CardRepository::class)
  7. */
  8. class Card
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="integer")
  18. */
  19. private $user_id;
  20. /**
  21. * @ORM\Column(type="integer")
  22. */
  23. private $pool_id;
  24. /**
  25. * @ORM\Column(type="integer")
  26. */
  27. private $reference_id;
  28. /**
  29. * @ORM\Column(type="integer")
  30. */
  31. private $reference_version;
  32. /**
  33. * @ORM\Column(type="integer")
  34. */
  35. private $copy_id;
  36. /**
  37. * @ORM\Column(type="integer")
  38. */
  39. private $copy_version;
  40. /**
  41. * @ORM\Column(type="text")
  42. */
  43. private $task;
  44. /**
  45. * @ORM\Column(type="text")
  46. */
  47. private $solution;
  48. /**
  49. * @ORM\Column(type="integer")
  50. */
  51. private $classification_id;
  52. /**
  53. * @ORM\Column(type="integer")
  54. */
  55. private $version;
  56. /**
  57. * @ORM\Column(type="integer")
  58. */
  59. private $correct;
  60. /**
  61. * @ORM\Column(type="integer")
  62. */
  63. private $correct2;
  64. /**
  65. * @ORM\Column(type="integer")
  66. */
  67. private $skilled;
  68. /**
  69. * @ORM\Column(type="integer")
  70. */
  71. private $delflag;
  72. /**
  73. * @ORM\Column(type="datetime")
  74. */
  75. private $created_date;
  76. /**
  77. * @ORM\Column(type="datetime")
  78. */
  79. private $modify_date;
  80. public function getId(): ?int
  81. {
  82. return $this->id;
  83. }
  84. public function getUserId(): ?int
  85. {
  86. return $this->user_id;
  87. }
  88. public function setUserId(int $user_id): self
  89. {
  90. $this->user_id = $user_id;
  91. return $this;
  92. }
  93. public function getPoolId(): ?int
  94. {
  95. return $this->pool_id;
  96. }
  97. public function setPoolId(int $pool_id): self
  98. {
  99. $this->pool_id = $pool_id;
  100. return $this;
  101. }
  102. public function getReferenceId(): ?int
  103. {
  104. return $this->reference_id;
  105. }
  106. public function setReferenceId(int $reference_id): self
  107. {
  108. $this->reference_id = $reference_id;
  109. return $this;
  110. }
  111. public function getCopyId(): ?int
  112. {
  113. return $this->copy_id;
  114. }
  115. public function setCopyId(int $copy_id): self
  116. {
  117. $this->copy_id = $copy_id;
  118. return $this;
  119. }
  120. public function getTask(): ?string
  121. {
  122. return $this->task;
  123. }
  124. public function setTask(string $task): self
  125. {
  126. $this->task = $task;
  127. return $this;
  128. }
  129. public function getSolution(): ?string
  130. {
  131. return $this->solution;
  132. }
  133. public function setSolution(string $solution): self
  134. {
  135. $this->solution = $solution;
  136. return $this;
  137. }
  138. public function getCorrect(): ?int
  139. {
  140. return $this->correct;
  141. }
  142. public function setCorrect(int $correct): self
  143. {
  144. $this->correct = $correct;
  145. return $this;
  146. }
  147. public function getCorrect2(): ?int
  148. {
  149. return $this->correct2;
  150. }
  151. public function setCorrect2(int $correct2): self
  152. {
  153. $this->correct2 = $correct2;
  154. return $this;
  155. }
  156. public function getSkilled(): ?int
  157. {
  158. return $this->skilled;
  159. }
  160. public function setSkilled(int $skilled): self
  161. {
  162. $this->skilled = $skilled;
  163. return $this;
  164. }
  165. public function getCreatedDate(): ?\DateTimeInterface
  166. {
  167. return $this->created_date;
  168. }
  169. public function setCreatedDate(\DateTimeInterface $created_date): self
  170. {
  171. $this->created_date = $created_date;
  172. return $this;
  173. }
  174. public function getModifyDate(): ?\DateTimeInterface
  175. {
  176. return $this->modify_date;
  177. }
  178. public function setModifyDate(\DateTimeInterface $modify_date): self
  179. {
  180. $this->modify_date = $modify_date;
  181. return $this;
  182. }
  183. public function getClassificationId(): ?int
  184. {
  185. return $this->classification_id;
  186. }
  187. public function setClassificationId(int $classification_id): self
  188. {
  189. $this->classification_id = $classification_id;
  190. return $this;
  191. }
  192. public function getDelflag(): ?int
  193. {
  194. return $this->delflag;
  195. }
  196. public function setDelflag(int $delflag): self
  197. {
  198. $this->delflag = $delflag;
  199. return $this;
  200. }
  201. public function getVersion(): ?int
  202. {
  203. return $this->version;
  204. }
  205. public function setVersion(int $version): self
  206. {
  207. $this->version = $version;
  208. return $this;
  209. }
  210. public function getReferenceVersion(): ?int
  211. {
  212. return $this->reference_version;
  213. }
  214. public function setReferenceVersion(int $reference_version): self
  215. {
  216. $this->reference_version = $reference_version;
  217. return $this;
  218. }
  219. public function getCopyVersion(): ?int
  220. {
  221. return $this->copy_version;
  222. }
  223. public function setCopyVersion(int $copy_version): self
  224. {
  225. $this->copy_version = $copy_version;
  226. return $this;
  227. }
  228. }