src/Entity/TeacherRegister/TeacherRegister.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity\TeacherRegister;
  3. use App\Entity\Admin;
  4. use App\Entity\Teacher;
  5. use App\Entity\TeacherContract;
  6. use App\Repository\TeacherRegister\TeacherRegisterRepository;
  7. use Doctrine\Common\Collections\ArrayCollection;
  8. use Doctrine\Common\Collections\Collection;
  9. use Doctrine\DBAL\Types\Types;
  10. use Doctrine\ORM\Mapping as ORM;
  11. use Symfony\Component\Serializer\Annotation\Groups;
  12. /**
  13. * @ORM\Entity(repositoryClass=TeacherRegisterRepository::class)
  14. */
  15. class TeacherRegister
  16. {
  17. const STATUS_NEW = ['value' => "NEW", 'text'=>'Naujas'];
  18. const STATUS_WAITING = ['value' => "WAITING", 'text'=>'Laukiama'];
  19. const STATUS_ACCEPTABLE = ['value' => "ACCEPTABLE", 'text'=>'Tinkamas'];
  20. const STATUS_CONFIRMED = ['value' => "CONFIRMED", 'text'=>'Priimtas'];
  21. const STATUS_CONTRACT_SENT = ['value' => "CONTRACT_SENT", 'text'=>'Sutartis išsiųsta'];
  22. const STATUS_DECLINED = ['value' => "DECLINED",'text'=>'Nepriimti'];
  23. const STATUS_NOT_INTERESTED = ['value' => "NOT_INTERESTED", 'text'=>'Nedomina'];
  24. const STATUS_SUSPENDED = ['value' => "SUSPENDED", 'text'=>'Sustabdyta'];
  25. const STATUS_NOT_SUITABLE = ['value' => "NOT_SUITABLE", 'text'=>'Netinka'];
  26. const REGISTER_STATUSES = [
  27. self::STATUS_NEW,
  28. self::STATUS_WAITING,
  29. self::STATUS_ACCEPTABLE,
  30. self::STATUS_CONFIRMED,
  31. self::STATUS_NOT_INTERESTED,
  32. self::STATUS_DECLINED,
  33. self::STATUS_CONTRACT_SENT,
  34. self::STATUS_SUSPENDED,
  35. self::STATUS_NOT_SUITABLE,
  36. ];
  37. /**
  38. * @ORM\Id
  39. * @ORM\GeneratedValue
  40. * @ORM\Column(type="integer")
  41. * @Groups({"TeacherRegisterList"})
  42. * */
  43. private $id;
  44. /**
  45. * @ORM\Column(type="string", length=255, nullable=true)
  46. * @Groups({"TeacherRegisterList"})
  47. */
  48. private $name;
  49. /**
  50. * @ORM\Column(type="string", length=255, nullable=true)
  51. * @Groups({"TeacherRegisterList"})
  52. */
  53. private $lastname;
  54. /**
  55. * @ORM\Column(type="string", length=255, nullable=true)
  56. * @Groups({"TeacherRegisterList"})
  57. */
  58. private $email;
  59. /**
  60. * @ORM\Column(type="string", length=255, nullable=true)
  61. * @Groups({"TeacherRegisterList"})
  62. */
  63. private $phone;
  64. /**
  65. * @ORM\Column(type="string", length=255, nullable=true)
  66. */
  67. private $education;
  68. /**
  69. * @ORM\Column(type="string", length=255, nullable=true)
  70. */
  71. private $university;
  72. /**
  73. * @ORM\Column(type="string", length=255, nullable=true)
  74. */
  75. private $studyField;
  76. /**
  77. * @ORM\Column(type="string", length=255, nullable=true)
  78. * @Groups({"TeacherRegisterList"})
  79. */
  80. private $referral;
  81. /**
  82. * @ORM\Column(type="text", nullable=true)
  83. * @Groups({"TeacherRegisterList"})
  84. */
  85. private $about;
  86. /**
  87. * @ORM\Column(type="boolean", nullable=true)
  88. */
  89. private $flagIB;
  90. /**
  91. * @ORM\Column(type="string", length=255, nullable=true)
  92. */
  93. private $universityOther;
  94. /**
  95. * @ORM\Column(type="string", length=255, nullable=true)
  96. * @Groups({"TeacherRegisterList"})
  97. */
  98. private $referralOther;
  99. /**
  100. * @ORM\Column(type="json", nullable=true)
  101. */
  102. private $additionalLanguages = [];
  103. /**
  104. * @ORM\OneToMany(targetEntity=TeacherRegisterDisciplineClass::class, mappedBy="teacherRegister", cascade={"all"})
  105. * @Groups({"TeacherRegisterList"})
  106. */
  107. private $teacherRegisterDisciplineClasses;
  108. /**
  109. * @ORM\Column(type="string", length=255, nullable=true)
  110. * @Groups({"TeacherRegisterList"})
  111. */
  112. private $status = 'NEW';
  113. /**
  114. * @ORM\Column(type="datetime", nullable=true)
  115. * @Groups({"TeacherRegisterList"})
  116. */
  117. private $createdAt;
  118. /**
  119. * @ORM\Column(type="datetime", nullable=true)
  120. */
  121. private $editedAt;
  122. /**
  123. * @ORM\ManyToOne(targetEntity=Admin::class)
  124. */
  125. private $lastEditedBy;
  126. /**
  127. * @ORM\ManyToOne(targetEntity=Admin::class)
  128. * @Groups({"TeacherRegisterList","TeacherList"})
  129. */
  130. private $hrPerson;
  131. /**
  132. * @ORM\Column(type="text", nullable=true)
  133. * @Groups({"TeacherRegisterList"})
  134. */
  135. private $adminComment;
  136. /**
  137. * @ORM\Column(type="string", length=255, nullable=true)
  138. */
  139. private $cancelToken;
  140. /**
  141. * @ORM\Column(type="text", nullable=true)
  142. * @Groups({"TeacherRegisterList"})
  143. */
  144. private $tutorCancelReason;
  145. /**
  146. * @ORM\Column(type="datetime", nullable=true)
  147. * @Groups({"TeacherRegisterList"})
  148. */
  149. private $notInterestedAt;
  150. /**
  151. * @ORM\Column(type="string", length=255, nullable=true)
  152. * @Groups({"TeacherRegisterList"})
  153. */
  154. private $cancelBy;
  155. /**
  156. * @ORM\Column(type="string", length=255, nullable=true)
  157. * @Groups({"TeacherRegisterList"})
  158. */
  159. private $previousStatus;
  160. /**
  161. * @ORM\Column(type="text", nullable=true)
  162. * @Groups({"TeacherRegisterList"})
  163. */
  164. private $calendlyMettingUrl;
  165. /**
  166. * @ORM\Column(type="string", length=255, nullable=true)
  167. */
  168. private $calendlyUuid;
  169. /**
  170. * @ORM\Column(type="datetime", nullable=true)
  171. * @Groups({"TeacherRegisterList"})
  172. */
  173. private $dateInterview;
  174. /**
  175. * @ORM\Column(type="datetime", nullable=true)
  176. * @Groups({"TeacherRegisterList"})
  177. */
  178. private $dateAcceptable;
  179. /**
  180. * @ORM\Column(type="boolean", nullable=true)
  181. * @Groups({"TeacherRegisterList"})
  182. */
  183. private $participated = 0;
  184. /**
  185. * @ORM\Column(type="integer", nullable=true)
  186. * @Groups({"TeacherRegisterList"})
  187. */
  188. private $maxLoad = 10;
  189. /**
  190. * @ORM\Column(type="string", length=255, nullable=true)
  191. */
  192. private $documentsToken;
  193. private $country = 'LT';
  194. /**
  195. * @ORM\OneToMany(targetEntity=TeacherRegisterDocument::class, mappedBy="teacherRegister")
  196. * @Groups({"TeacherRegisterList"})
  197. */
  198. private $teacherRegisterDocuments;
  199. /**
  200. * @ORM\Column(type="boolean", nullable=true)
  201. * @Groups({"TeacherRegisterList"})
  202. */
  203. private $sign = true;
  204. /**
  205. * @ORM\Column(type="string", length=255, nullable=true)
  206. */
  207. private $contractToken;
  208. /**
  209. * @ORM\Column(type="datetime", nullable=true)
  210. * @Groups({"TeacherRegisterList"})
  211. */
  212. private $contractGeneratedAt;
  213. /**
  214. * @ORM\Column(type="text", nullable=true)
  215. */
  216. private $marksignUrl;
  217. /**
  218. * @ORM\Column(type="text", nullable=true)
  219. */
  220. private $marksignDocumentId;
  221. /**
  222. * @ORM\Column(type="text", nullable=true)
  223. */
  224. private $signedContractUrl;
  225. /**
  226. * @ORM\Column(type="datetime", nullable=true)
  227. * @Groups({"TeacherRegisterList"})
  228. */
  229. private $contractSignedAt;
  230. /**
  231. * @ORM\OneToOne(targetEntity=Teacher::class, inversedBy="teacherRegister", cascade={"persist", "remove"})
  232. * @Groups({"TeacherRegisterList"})
  233. */
  234. private $teacher;
  235. /**
  236. * @ORM\ManyToOne(targetEntity=TeacherContract::class)
  237. */
  238. private $teacherContract;
  239. /**
  240. * @ORM\Column(type="boolean", nullable=true)
  241. * @Groups({"TeacherRegisterList"})
  242. */
  243. private $profileSubmitted;
  244. /**
  245. * @ORM\Column(type="boolean", nullable=true)
  246. * @Groups({"TeacherRegisterList"})
  247. */
  248. private $profileAccepted;
  249. /**
  250. * @ORM\Column(type="integer", nullable=true)
  251. * @Groups({"TeacherRegisterList"})
  252. */
  253. private $testPercent;
  254. /**
  255. * @ORM\Column(type="boolean", nullable=true)
  256. * @Groups({"TeacherRegisterList"})
  257. */
  258. private $documentsSubmitted;
  259. /**
  260. * @ORM\Column(type="boolean", nullable=true)
  261. */
  262. private $consent;
  263. /**
  264. * @ORM\Column(type="boolean", nullable=true)
  265. */
  266. private $referralBonusUsed;
  267. /**
  268. * @ORM\Column(type="integer", nullable=true)
  269. */
  270. private $ielts;
  271. /**
  272. * @ORM\Column(type="integer", nullable=true)
  273. */
  274. private $notDoneTests;
  275. /**
  276. * @ORM\Column(type="integer", nullable=true)
  277. * @Groups({"TeacherRegisterList"})
  278. */
  279. private $doneTests = 0;
  280. /**
  281. * @ORM\Column(type="string", length=255, nullable=true)
  282. */
  283. private $googleSessionId;
  284. /**
  285. * @ORM\Column(type="string", length=255, nullable=true)
  286. */
  287. private $googleClientId;
  288. /**
  289. * @ORM\Column(type="string", length=255, nullable=true)
  290. */
  291. private $ad;
  292. /**
  293. * @ORM\Column(type="string", length=255, nullable=true)
  294. */
  295. private $referer;
  296. /**
  297. * @ORM\Column(type="string", length=255, nullable=true)
  298. */
  299. private $refererCategory;
  300. /**
  301. * @ORM\Column(type="string", length=255, nullable=true)
  302. */
  303. private $utmSource;
  304. /**
  305. * @ORM\Column(type="string", length=255, nullable=true)
  306. */
  307. private $utmMedium;
  308. /**
  309. * @ORM\Column(type="string", length=255, nullable=true)
  310. */
  311. private $utmCampaign;
  312. /**
  313. * @ORM\Column(type="text", nullable=true)
  314. */
  315. private $landingPage;
  316. /**
  317. * @ORM\Column(type="boolean", nullable=true)
  318. * @Groups({"TeacherList"})
  319. */
  320. private $flagRU;
  321. /**
  322. * @ORM\Column(type="boolean", nullable=true)
  323. * @Groups({"TeacherList"})
  324. */
  325. private $flagPL;
  326. /**
  327. * @ORM\Column(type="boolean", nullable=true)
  328. * @Groups({"TeacherList"})
  329. */
  330. private $flagENG;
  331. /**
  332. * @ORM\Column(type="boolean", nullable=true)
  333. * @Groups({"TeacherList"})
  334. */
  335. private $flagDyslexia;
  336. /**
  337. * @ORM\Column(type="boolean", nullable=true)
  338. * @Groups({"TeacherList"})
  339. */
  340. private $flagSensitive;
  341. /**
  342. * @ORM\Column(type="boolean", nullable=true)
  343. */
  344. private $flagStrict;
  345. /**
  346. * @ORM\Column(type="string", length=255, nullable=true)
  347. */
  348. private $gender;
  349. /**
  350. * @ORM\Column(type="boolean", nullable=true)
  351. */
  352. private $flagExperienceAtSchool;
  353. public function __construct()
  354. {
  355. $this->createdAt = new \DateTime();
  356. $this->teacherRegisterDisciplineClasses = new ArrayCollection();
  357. $this->teacherRegisterDocuments = new ArrayCollection();
  358. }
  359. public function getId(): ?int
  360. {
  361. return $this->id;
  362. }
  363. public function getName(): ?string
  364. {
  365. return $this->name;
  366. }
  367. public function setName(?string $name): self
  368. {
  369. $this->name = $name;
  370. return $this;
  371. }
  372. public function getLastname(): ?string
  373. {
  374. return $this->lastname;
  375. }
  376. public function setLastname(?string $lastname): self
  377. {
  378. $this->lastname = $lastname;
  379. return $this;
  380. }
  381. public function getEmail(): ?string
  382. {
  383. return $this->email;
  384. }
  385. public function setEmail(?string $email): self
  386. {
  387. $this->email = $email;
  388. return $this;
  389. }
  390. public function getPhone(): ?string
  391. {
  392. return $this->phone;
  393. }
  394. public function setPhone(?string $phone): self
  395. {
  396. $this->phone = $phone;
  397. return $this;
  398. }
  399. public function getEducation(): ?string
  400. {
  401. return $this->education;
  402. }
  403. public function setEducation(?string $education): self
  404. {
  405. $this->education = $education;
  406. return $this;
  407. }
  408. public function getUniversity(): ?string
  409. {
  410. return $this->university;
  411. }
  412. public function setUniversity(?string $university): self
  413. {
  414. $this->university = $university;
  415. return $this;
  416. }
  417. public function getStudyField(): ?string
  418. {
  419. return $this->studyField;
  420. }
  421. public function setStudyField(?string $studyField): self
  422. {
  423. $this->studyField = $studyField;
  424. return $this;
  425. }
  426. public function getReferral(): ?string
  427. {
  428. return $this->referral;
  429. }
  430. public function setReferral(?string $referral): self
  431. {
  432. $this->referral = $referral;
  433. return $this;
  434. }
  435. public function getAbout(): ?string
  436. {
  437. return $this->about;
  438. }
  439. public function setAbout(?string $about): self
  440. {
  441. $this->about = $about;
  442. return $this;
  443. }
  444. public function isFlagIB(): ?bool
  445. {
  446. return $this->flagIB;
  447. }
  448. public function setFlagIB(?bool $flagIB): self
  449. {
  450. $this->flagIB = $flagIB;
  451. return $this;
  452. }
  453. public function getUniversityOther(): ?string
  454. {
  455. return $this->universityOther;
  456. }
  457. public function setUniversityOther(?string $universityOther): self
  458. {
  459. $this->universityOther = $universityOther;
  460. return $this;
  461. }
  462. public function getReferralOther(): ?string
  463. {
  464. return $this->referralOther;
  465. }
  466. public function setReferralOther(?string $referralOther): self
  467. {
  468. $this->referralOther = $referralOther;
  469. return $this;
  470. }
  471. public function getAdditionalLanguages(): ?array
  472. {
  473. return $this->additionalLanguages;
  474. }
  475. public function setAdditionalLanguages(?array $additionalLanguages): self
  476. {
  477. $this->additionalLanguages = $additionalLanguages;
  478. return $this;
  479. }
  480. /**
  481. * @return Collection<int, TeacherRegisterDisciplineClass>
  482. */
  483. public function getTeacherRegisterDisciplineClasses(): Collection
  484. {
  485. return $this->teacherRegisterDisciplineClasses ?: new ArrayCollection();
  486. }
  487. public function addTeacherRegisterDisciplineClass(TeacherRegisterDisciplineClass $teacherRegisterDisciplineClass): self
  488. {
  489. if ($this->teacherRegisterDisciplineClasses == null) {
  490. $this->teacherRegisterDisciplineClasses = new ArrayCollection();
  491. }
  492. if (!$this->teacherRegisterDisciplineClasses->contains($teacherRegisterDisciplineClass)) {
  493. $this->teacherRegisterDisciplineClasses[] = $teacherRegisterDisciplineClass;
  494. $teacherRegisterDisciplineClass->setTeacherRegister($this);
  495. }
  496. return $this;
  497. }
  498. public function removeTeacherRegisterDisciplineClass(TeacherRegisterDisciplineClass $teacherRegisterDisciplineClass): self
  499. {
  500. if ($this->teacherRegisterDisciplineClasses == null) {
  501. $this->teacherRegisterDisciplineClasses = new ArrayCollection();
  502. }
  503. if ($this->teacherRegisterDisciplineClasses->removeElement($teacherRegisterDisciplineClass)) {
  504. // set the owning side to null (unless already changed)
  505. if ($teacherRegisterDisciplineClass->getTeacherRegister() === $this) {
  506. $teacherRegisterDisciplineClass->setTeacherRegister(null);
  507. }
  508. }
  509. return $this;
  510. }
  511. public function getStatus(): ?string
  512. {
  513. return $this->status;
  514. }
  515. public function setStatus(?string $status): self
  516. {
  517. $this->status = $status;
  518. return $this;
  519. }
  520. public function getCreatedAt(): ?\DateTimeInterface
  521. {
  522. return $this->createdAt;
  523. }
  524. public function setCreatedAt(?\DateTimeInterface $createdAt): self
  525. {
  526. $this->createdAt = $createdAt;
  527. return $this;
  528. }
  529. public function getEditedAt(): ?\DateTimeInterface
  530. {
  531. return $this->editedAt;
  532. }
  533. public function setEditedAt(?\DateTimeInterface $editedAt): self
  534. {
  535. $this->editedAt = $editedAt;
  536. return $this;
  537. }
  538. public function getLastEditedBy(): ?Admin
  539. {
  540. return $this->lastEditedBy;
  541. }
  542. public function setLastEditedBy(?Admin $lastEditedBy): self
  543. {
  544. $this->lastEditedBy = $lastEditedBy;
  545. return $this;
  546. }
  547. public function getHrPerson(): ?Admin
  548. {
  549. return $this->hrPerson;
  550. }
  551. public function setHrPerson(?Admin $hrPerson): self
  552. {
  553. $this->hrPerson = $hrPerson;
  554. return $this;
  555. }
  556. public function getAdminComment(): ?string
  557. {
  558. return $this->adminComment;
  559. }
  560. public function setAdminComment(?string $adminComment): self
  561. {
  562. $this->adminComment = $adminComment;
  563. return $this;
  564. }
  565. public function getCancelToken(): ?string
  566. {
  567. return $this->cancelToken;
  568. }
  569. public function setCancelToken(?string $cancelToken): self
  570. {
  571. $this->cancelToken = $cancelToken;
  572. return $this;
  573. }
  574. public function getTutorCancelReason(): ?string
  575. {
  576. return $this->tutorCancelReason;
  577. }
  578. public function setTutorCancelReason(?string $tutorCancelReason): self
  579. {
  580. $this->tutorCancelReason = $tutorCancelReason;
  581. return $this;
  582. }
  583. public function getNotInterestedAt(): ?\DateTimeInterface
  584. {
  585. return $this->notInterestedAt;
  586. }
  587. public function setNotInterestedAt(?\DateTimeInterface $notInterestedAt): self
  588. {
  589. $this->notInterestedAt = $notInterestedAt;
  590. return $this;
  591. }
  592. public function getCancelBy(): ?string
  593. {
  594. return $this->cancelBy;
  595. }
  596. public function setCancelBy(?string $cancelBy): self
  597. {
  598. $this->cancelBy = $cancelBy;
  599. return $this;
  600. }
  601. public function getPreviousStatus(): ?string
  602. {
  603. return $this->previousStatus;
  604. }
  605. public function setPreviousStatus(?string $previousStatus): self
  606. {
  607. $this->previousStatus = $previousStatus;
  608. return $this;
  609. }
  610. public function getCalendlyMettingUrl(): ?string
  611. {
  612. return $this->calendlyMettingUrl;
  613. }
  614. public function setCalendlyMettingUrl(?string $calendlyMettingUrl): self
  615. {
  616. $this->calendlyMettingUrl = $calendlyMettingUrl;
  617. return $this;
  618. }
  619. public function getCalendlyUuid(): ?string
  620. {
  621. return $this->calendlyUuid;
  622. }
  623. public function setCalendlyUuid(?string $calendlyUuid): self
  624. {
  625. $this->calendlyUuid = $calendlyUuid;
  626. return $this;
  627. }
  628. public function getDateInterview(): ?\DateTimeInterface
  629. {
  630. return $this->dateInterview;
  631. }
  632. public function setDateInterview(?\DateTimeInterface $dateInterview): self
  633. {
  634. $this->dateInterview = $dateInterview;
  635. return $this;
  636. }
  637. public function getDateAcceptable(): ?\DateTimeInterface
  638. {
  639. return $this->dateAcceptable;
  640. }
  641. public function setDateAcceptable(?\DateTimeInterface $dateAcceptable): self
  642. {
  643. $this->dateAcceptable = $dateAcceptable;
  644. return $this;
  645. }
  646. public function isParticipated(): ?bool
  647. {
  648. return $this->participated;
  649. }
  650. public function setParticipated(?bool $participated): self
  651. {
  652. $this->participated = $participated;
  653. return $this;
  654. }
  655. public function getMaxLoad(): ?int
  656. {
  657. return $this->maxLoad;
  658. }
  659. public function setMaxLoad(?int $maxLoad): self
  660. {
  661. $this->maxLoad = $maxLoad;
  662. return $this;
  663. }
  664. public function getDocumentsToken(): ?string
  665. {
  666. return $this->documentsToken;
  667. }
  668. public function setDocumentsToken(?string $documentsToken): self
  669. {
  670. $this->documentsToken = $documentsToken;
  671. return $this;
  672. }
  673. public function getCountry(): ?string
  674. {
  675. return $this->country;
  676. }
  677. public function setCountry(?string $country): self
  678. {
  679. $this->country = $country;
  680. return $this;
  681. }
  682. /**
  683. * @return Collection<int, TeacherRegisterDocument>
  684. */
  685. public function getTeacherRegisterDocuments(): Collection
  686. {
  687. return $this->teacherRegisterDocuments;
  688. }
  689. public function addTeacherRegisterDocument(TeacherRegisterDocument $teacherRegisterDocument): self
  690. {
  691. if (!$this->teacherRegisterDocuments->contains($teacherRegisterDocument)) {
  692. $this->teacherRegisterDocuments[] = $teacherRegisterDocument;
  693. $teacherRegisterDocument->setTeacherRegister($this);
  694. }
  695. return $this;
  696. }
  697. public function removeTeacherRegisterDocument(TeacherRegisterDocument $teacherRegisterDocument): self
  698. {
  699. if ($this->teacherRegisterDocuments->removeElement($teacherRegisterDocument)) {
  700. // set the owning side to null (unless already changed)
  701. if ($teacherRegisterDocument->getTeacherRegister() === $this) {
  702. $teacherRegisterDocument->setTeacherRegister(null);
  703. }
  704. }
  705. return $this;
  706. }
  707. public function getSign(): ?bool
  708. {
  709. return $this->sign;
  710. }
  711. public function setSign(?bool $sign): self
  712. {
  713. $this->sign = $sign;
  714. return $this;
  715. }
  716. public function getContractToken(): ?string
  717. {
  718. return $this->contractToken;
  719. }
  720. public function setContractToken(?string $contract_token): self
  721. {
  722. $this->contractToken = $contract_token;
  723. return $this;
  724. }
  725. public function getContractGeneratedAt(): ?\DateTimeInterface
  726. {
  727. return $this->contractGeneratedAt;
  728. }
  729. public function setContractGeneratedAt(?\DateTimeInterface $contractGeneratedAt): self
  730. {
  731. $this->contractGeneratedAt = $contractGeneratedAt;
  732. return $this;
  733. }
  734. public function getMarksignUrl(): ?string
  735. {
  736. return $this->marksignUrl;
  737. }
  738. public function setMarksignUrl(?string $marksignUrl): self
  739. {
  740. $this->marksignUrl = $marksignUrl;
  741. return $this;
  742. }
  743. public function getMarksignDocumentId(): ?string
  744. {
  745. return $this->marksignDocumentId;
  746. }
  747. public function setMarksignDocumentId(?string $marksignDocumentId): self
  748. {
  749. $this->marksignDocumentId = $marksignDocumentId;
  750. return $this;
  751. }
  752. public function getSignedContractUrl(): ?string
  753. {
  754. return $this->signedContractUrl;
  755. }
  756. public function setSignedContractUrl(?string $signedContractUrl): self
  757. {
  758. $this->signedContractUrl = $signedContractUrl;
  759. return $this;
  760. }
  761. public function getContractSignedAt(): ?\DateTimeInterface
  762. {
  763. return $this->contractSignedAt;
  764. }
  765. public function setContractSignedAt(?\DateTimeInterface $contractSignedAt): self
  766. {
  767. $this->contractSignedAt = $contractSignedAt;
  768. return $this;
  769. }
  770. public function getTeacher(): ?Teacher
  771. {
  772. return $this->teacher;
  773. }
  774. public function setTeacher(?Teacher $teacher): self
  775. {
  776. $this->teacher = $teacher;
  777. return $this;
  778. }
  779. public function getTeacherContract(): ?TeacherContract
  780. {
  781. return $this->teacherContract;
  782. }
  783. public function setTeacherContract(?TeacherContract $teacherContract): self
  784. {
  785. $this->teacherContract = $teacherContract;
  786. return $this;
  787. }
  788. public function isProfileSubmitted(): ?bool
  789. {
  790. return $this->profileSubmitted;
  791. }
  792. public function setProfileSubmitted(?bool $profileSubmitted): self
  793. {
  794. $this->profileSubmitted = $profileSubmitted;
  795. return $this;
  796. }
  797. public function isProfileAccepted(): ?bool
  798. {
  799. return $this->profileAccepted;
  800. }
  801. public function setProfileAccepted(?bool $profileAccepted): self
  802. {
  803. $this->profileAccepted = $profileAccepted;
  804. return $this;
  805. }
  806. public function getTestPercent(): ?int
  807. {
  808. return $this->testPercent;
  809. }
  810. public function setTestPercent(?int $testPercent): self
  811. {
  812. $this->testPercent = $testPercent;
  813. return $this;
  814. }
  815. public function isDocumentsSubmitted(): ?bool
  816. {
  817. return $this->documentsSubmitted;
  818. }
  819. public function setDocumentsSubmitted(?bool $documentsSubmitted): self
  820. {
  821. $this->documentsSubmitted = $documentsSubmitted;
  822. return $this;
  823. }
  824. public function isConsent(): ?bool
  825. {
  826. return $this->consent;
  827. }
  828. public function setConsent(?bool $consent): self
  829. {
  830. $this->consent = $consent;
  831. return $this;
  832. }
  833. public function isReferralBonusUsed(): ?bool
  834. {
  835. return $this->referralBonusUsed;
  836. }
  837. public function setReferralBonusUsed(?bool $referralBonusUsed): self
  838. {
  839. $this->referralBonusUsed = $referralBonusUsed;
  840. return $this;
  841. }
  842. public function getIelts(): ?int
  843. {
  844. return $this->ielts;
  845. }
  846. public function setIelts(?int $ielts): self
  847. {
  848. $this->ielts = $ielts;
  849. return $this;
  850. }
  851. public function getNotDoneTests(): ?int
  852. {
  853. return $this->notDoneTests;
  854. }
  855. public function setNotDoneTests(?int $notDoneTests): self
  856. {
  857. $this->notDoneTests = $notDoneTests;
  858. return $this;
  859. }
  860. public function getDoneTests(): ?int
  861. {
  862. return $this->doneTests;
  863. }
  864. public function setDoneTests(?int $doneTests): self
  865. {
  866. $this->doneTests = $doneTests;
  867. return $this;
  868. }
  869. public function getGoogleSessionId(): ?string
  870. {
  871. return $this->googleSessionId;
  872. }
  873. public function setGoogleSessionId(?string $googleSessionId): self
  874. {
  875. $this->googleSessionId = $googleSessionId;
  876. return $this;
  877. }
  878. public function getGoogleClientId(): ?string
  879. {
  880. return $this->googleClientId;
  881. }
  882. public function setGoogleClientId(?string $googleClientId): self
  883. {
  884. $this->googleClientId = $googleClientId;
  885. return $this;
  886. }
  887. public function getAd(): ?string
  888. {
  889. return $this->ad;
  890. }
  891. public function setAd(?string $ad): self
  892. {
  893. $this->ad = $ad;
  894. return $this;
  895. }
  896. public function getReferer(): ?string
  897. {
  898. return $this->referer;
  899. }
  900. public function setReferer(?string $referer): self
  901. {
  902. $this->referer = $referer;
  903. return $this;
  904. }
  905. public function getRefererCategory(): ?string
  906. {
  907. return $this->refererCategory;
  908. }
  909. public function setRefererCategory(?string $refererCategory): self
  910. {
  911. $this->refererCategory = $refererCategory;
  912. return $this;
  913. }
  914. public function getUtmSource(): ?string
  915. {
  916. return $this->utmSource;
  917. }
  918. public function setUtmSource(?string $utmSource): self
  919. {
  920. $this->utmSource = $utmSource;
  921. return $this;
  922. }
  923. public function getUtmMedium(): ?string
  924. {
  925. return $this->utmMedium;
  926. }
  927. public function setUtmMedium(?string $utmMedium): self
  928. {
  929. $this->utmMedium = $utmMedium;
  930. return $this;
  931. }
  932. public function getUtmCampaign(): ?string
  933. {
  934. return $this->utmCampaign;
  935. }
  936. public function setUtmCampaign(?string $utmCampaign): self
  937. {
  938. $this->utmCampaign = $utmCampaign;
  939. return $this;
  940. }
  941. public function getLandingPage(): ?string
  942. {
  943. return $this->landingPage;
  944. }
  945. public function setLandingPage(?string $landingPage): self
  946. {
  947. $this->landingPage = $landingPage;
  948. return $this;
  949. }
  950. public function getFlagRU(): ?bool
  951. {
  952. return $this->flagRU;
  953. }
  954. public function setFlagRU(?bool $flagRU): self
  955. {
  956. $this->flagRU = $flagRU;
  957. return $this;
  958. }
  959. public function getFlagPL(): ?bool
  960. {
  961. return $this->flagPL;
  962. }
  963. public function setFlagPL(?bool $flagPL): self
  964. {
  965. $this->flagPL = $flagPL;
  966. return $this;
  967. }
  968. public function getFlagENG(): ?bool
  969. {
  970. return $this->flagENG;
  971. }
  972. public function setFlagENG(?bool $flagENG): self
  973. {
  974. $this->flagENG = $flagENG;
  975. return $this;
  976. }
  977. public function getFlagDyslexia(): ?bool
  978. {
  979. return $this->flagDyslexia;
  980. }
  981. public function setFlagDyslexia(?bool $flagDyslexia): self
  982. {
  983. $this->flagDyslexia = $flagDyslexia;
  984. return $this;
  985. }
  986. public function getFlagSensitive(): ?bool
  987. {
  988. return $this->flagSensitive;
  989. }
  990. public function setFlagSensitive(?bool $flagSensitive): self
  991. {
  992. $this->flagSensitive = $flagSensitive;
  993. return $this;
  994. }
  995. public function isFlagStrict(): ?bool
  996. {
  997. return $this->flagStrict;
  998. }
  999. public function setFlagStrict(?bool $flagStrict): self
  1000. {
  1001. $this->flagStrict = $flagStrict;
  1002. return $this;
  1003. }
  1004. public function getGender(): ?string
  1005. {
  1006. return $this->gender;
  1007. }
  1008. public function setGender(?string $gender): self
  1009. {
  1010. $this->gender = $gender;
  1011. return $this;
  1012. }
  1013. public function isFlagExperienceAtSchool(): ?bool
  1014. {
  1015. return $this->flagExperienceAtSchool;
  1016. }
  1017. public function setFlagExperienceAtSchool(?bool $flagExperienceAtSchool): self
  1018. {
  1019. $this->flagExperienceAtSchool = $flagExperienceAtSchool;
  1020. return $this;
  1021. }
  1022. }