src/Entity/GuardianRegister/GuardianRegisterChild.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\GuardianRegister;
  3. use App\Repository\GuardianRegister\GuardianRegisterChildRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8. * @ORM\Entity(repositoryClass=GuardianRegisterChildRepository::class)
  9. */
  10. class GuardianRegisterChild
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\GeneratedValue
  15. * @ORM\Column(type="integer")
  16. */
  17. private $id;
  18. /**
  19. * @ORM\ManyToOne(targetEntity=GuardianRegister::class, inversedBy="guardianRegisterChildren")
  20. */
  21. private $guardianRegister;
  22. /**
  23. * @ORM\Column(type="string", length=255, nullable=true)
  24. */
  25. private $name;
  26. /**
  27. * @ORM\Column(type="integer", nullable=true)
  28. */
  29. private $class;
  30. /**
  31. * @ORM\OneToMany(targetEntity=GuardianRegisterChildPreference::class, mappedBy="guardianRegisterChild")
  32. */
  33. private $guardianRegisterChildPreferences;
  34. /**
  35. * @ORM\Column(type="text", nullable=true)
  36. */
  37. private $fittingTimes;
  38. /**
  39. * @ORM\Column(type="text", nullable=true)
  40. */
  41. private $fittingTimesPriority;
  42. /**
  43. * @ORM\Column(type="text", nullable=true)
  44. */
  45. private $adminComment;
  46. /**
  47. * @ORM\Column(type="string", length=255, nullable=true)
  48. */
  49. private $email;
  50. /**
  51. * @ORM\Column(type="boolean", nullable=true)
  52. */
  53. private $flagRU;
  54. /**
  55. * @ORM\Column(type="boolean", nullable=true)
  56. */
  57. private $flagPL;
  58. /**
  59. * @ORM\Column(type="boolean", nullable=true)
  60. */
  61. private $flagENG;
  62. /**
  63. * @ORM\Column(type="boolean", nullable=true)
  64. */
  65. private $flagIB;
  66. /**
  67. * @ORM\Column(type="boolean", nullable=true)
  68. */
  69. private $flagDyslexia;
  70. /**
  71. * @ORM\Column(type="boolean", nullable=true)
  72. */
  73. private $flagSensitive;
  74. /**
  75. * @ORM\Column(type="string", length=255, nullable=true)
  76. */
  77. private $school;
  78. /**
  79. * @ORM\Column(type="boolean", nullable=true)
  80. */
  81. private $flagStrict;
  82. /**
  83. * @ORM\Column(type="string", length=255, nullable=true)
  84. */
  85. private $gender;
  86. /**
  87. * @ORM\Column(type="boolean", nullable=true)
  88. */
  89. private $flagExperienceAtSchool;
  90. /**
  91. * @ORM\Column(type="boolean", nullable=true)
  92. */
  93. private $flagIelts;
  94. /**
  95. * @ORM\Column(type="boolean", nullable=true)
  96. */
  97. private $vbeOver90;
  98. /**
  99. * @ORM\Column(type="boolean", nullable=true)
  100. */
  101. private $experienceOver12Month;
  102. /**
  103. * @ORM\Column(type="text", nullable=true)
  104. */
  105. private $tutorComment;
  106. public function __construct()
  107. {
  108. $this->guardianRegisterChildPreferences = new ArrayCollection();
  109. }
  110. public function getId(): ?int
  111. {
  112. return $this->id;
  113. }
  114. public function getGuardianRegister(): ?GuardianRegister
  115. {
  116. return $this->guardianRegister;
  117. }
  118. public function setGuardianRegister(?GuardianRegister $guardianRegister): self
  119. {
  120. $this->guardianRegister = $guardianRegister;
  121. return $this;
  122. }
  123. public function getName(): ?string
  124. {
  125. return $this->name;
  126. }
  127. public function setName(?string $name): self
  128. {
  129. $this->name = $name;
  130. return $this;
  131. }
  132. public function getClass(): ?int
  133. {
  134. return $this->class;
  135. }
  136. public function setClass(?int $class): self
  137. {
  138. $this->class = $class;
  139. return $this;
  140. }
  141. /**
  142. * @return Collection<int, GuardianRegisterChildPreference>
  143. */
  144. public function getGuardianRegisterChildPreferences(): Collection
  145. {
  146. return $this->guardianRegisterChildPreferences;
  147. }
  148. public function addGuardianRegisterChildPreference(GuardianRegisterChildPreference $guardianRegisterChildPreference): self
  149. {
  150. if (!$this->guardianRegisterChildPreferences->contains($guardianRegisterChildPreference)) {
  151. $this->guardianRegisterChildPreferences[] = $guardianRegisterChildPreference;
  152. $guardianRegisterChildPreference->setGuardianRegisterChild($this);
  153. }
  154. return $this;
  155. }
  156. public function removeGuardianRegisterChildPreference(GuardianRegisterChildPreference $guardianRegisterChildPreference): self
  157. {
  158. if ($this->guardianRegisterChildPreferences->removeElement($guardianRegisterChildPreference)) {
  159. // set the owning side to null (unless already changed)
  160. if ($guardianRegisterChildPreference->getGuardianRegisterChild() === $this) {
  161. $guardianRegisterChildPreference->setGuardianRegisterChild(null);
  162. }
  163. }
  164. return $this;
  165. }
  166. public function getFittingTimes(): ?string
  167. {
  168. return $this->fittingTimes;
  169. }
  170. public function setFittingTimes(?string $fittingTimes): self
  171. {
  172. $this->fittingTimes = $fittingTimes;
  173. return $this;
  174. }
  175. public function getFittingTimesPriority(): ?string
  176. {
  177. return $this->fittingTimesPriority;
  178. }
  179. public function setFittingTimesPriority(?string $fittingTimesPriority): self
  180. {
  181. $this->fittingTimesPriority = $fittingTimesPriority;
  182. return $this;
  183. }
  184. public function getAdminComment(): ?string
  185. {
  186. return $this->adminComment;
  187. }
  188. public function setAdminComment(?string $adminComment): self
  189. {
  190. $this->adminComment = $adminComment;
  191. return $this;
  192. }
  193. public function getEmail(): ?string
  194. {
  195. return $this->email;
  196. }
  197. public function setEmail(?string $email): self
  198. {
  199. $this->email = $email;
  200. return $this;
  201. }
  202. public function getFlagRU(): ?bool
  203. {
  204. return $this->flagRU;
  205. }
  206. public function setFlagRU(?bool $flagRU): self
  207. {
  208. $this->flagRU = $flagRU;
  209. return $this;
  210. }
  211. public function getFlagPL(): ?bool
  212. {
  213. return $this->flagPL;
  214. }
  215. public function setFlagPL(?bool $flagPL): self
  216. {
  217. $this->flagPL = $flagPL;
  218. return $this;
  219. }
  220. public function getFlagENG(): ?bool
  221. {
  222. return $this->flagENG;
  223. }
  224. public function setFlagENG(?bool $flagENG): self
  225. {
  226. $this->flagENG = $flagENG;
  227. return $this;
  228. }
  229. public function getFlagIB(): ?bool
  230. {
  231. return $this->flagIB;
  232. }
  233. public function setFlagIB(?bool $flagIB): self
  234. {
  235. $this->flagIB = $flagIB;
  236. return $this;
  237. }
  238. public function getFlagDyslexia(): ?bool
  239. {
  240. return $this->flagDyslexia;
  241. }
  242. public function setFlagDyslexia(?bool $flagDyslexia): self
  243. {
  244. $this->flagDyslexia = $flagDyslexia;
  245. return $this;
  246. }
  247. public function getFlagSensitive(): ?bool
  248. {
  249. return $this->flagSensitive;
  250. }
  251. public function setFlagSensitive(?bool $flagSensitive): self
  252. {
  253. $this->flagSensitive = $flagSensitive;
  254. return $this;
  255. }
  256. public function getSchool(): ?string
  257. {
  258. return $this->school;
  259. }
  260. public function setSchool(?string $school): self
  261. {
  262. $this->school = $school;
  263. return $this;
  264. }
  265. public function isFlagStrict(): ?bool
  266. {
  267. return $this->flagStrict;
  268. }
  269. public function setFlagStrict(?bool $flagStrict): self
  270. {
  271. $this->flagStrict = $flagStrict;
  272. return $this;
  273. }
  274. public function getGender(): ?string
  275. {
  276. return $this->gender;
  277. }
  278. public function setGender(?string $gender): self
  279. {
  280. $this->gender = $gender;
  281. return $this;
  282. }
  283. public function isFlagExperienceAtSchool(): ?bool
  284. {
  285. return $this->flagExperienceAtSchool;
  286. }
  287. public function setFlagExperienceAtSchool(?bool $flagExperienceAtSchool): self
  288. {
  289. $this->flagExperienceAtSchool = $flagExperienceAtSchool;
  290. return $this;
  291. }
  292. public function isFlagIelts(): ?bool
  293. {
  294. return $this->flagIelts;
  295. }
  296. public function setFlagIelts(?bool $flagIelts): self
  297. {
  298. $this->flagIelts = $flagIelts;
  299. return $this;
  300. }
  301. public function isVbeOver90(): ?bool
  302. {
  303. return $this->vbeOver90;
  304. }
  305. public function setVbeOver90(?bool $vbeOver90): self
  306. {
  307. $this->vbeOver90 = $vbeOver90;
  308. return $this;
  309. }
  310. public function isExperienceOver12Month(): ?bool
  311. {
  312. return $this->experienceOver12Month;
  313. }
  314. public function setExperienceOver12Month(?bool $experienceOver12Month): self
  315. {
  316. $this->experienceOver12Month = $experienceOver12Month;
  317. return $this;
  318. }
  319. public function getTutorComment(): ?string
  320. {
  321. return $this->tutorComment;
  322. }
  323. public function setTutorComment(?string $tutorComment): self
  324. {
  325. $this->tutorComment = $tutorComment;
  326. return $this;
  327. }
  328. }