Education.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  1. <?php
  2. namespace AppBundle\Entity\Education;
  3. use AppBundle\Annotation\ExportSplitFields;
  4. use AppBundle\Entity\Booking\Course;
  5. use AppBundle\Entity\Core\Tagg;
  6. use AppBundle\Entity\Message\Message;
  7. use AppBundle\Enum\Education\PratiqueEnum;
  8. use Doctrine\Common\Collections\ArrayCollection;
  9. use Doctrine\ORM\Mapping as ORM;
  10. use Dunglas\ApiBundle\Annotation\Iri;
  11. use Symfony\Component\Serializer\Annotation\Groups;
  12. use Symfony\Component\Validator\Constraints as Assert;
  13. use AppBundle\Entity\Traits\TimestampableEntity;
  14. use AppBundle\Entity\Traits\CreatorUpdaterEntity;
  15. /**
  16. * Enseignement proposé par une Organization
  17. *
  18. * @Iri("http://schema.org/Education")
  19. */
  20. #[ORM\Entity]
  21. class Education
  22. {
  23. use TimestampableEntity;
  24. use CreatorUpdaterEntity;
  25. /**
  26. * @var string
  27. */
  28. #[ORM\Column(type: 'string', length: 500, nullable: true)]
  29. #[Assert\Type(type: 'string')]
  30. private $legacyId;
  31. /**
  32. * @var int
  33. */
  34. #[ORM\Column(type: 'integer')]
  35. #[ORM\Id]
  36. #[ORM\GeneratedValue(strategy: 'AUTO')]
  37. #[Groups(['education', 'educationcurriculum_reference', 'examenconvocation_list_examen', 'planning_list', 'generate_attendance', 'access_details_practicalcourses', 'presence_attendance', 'examen_details', 'course_details', 'educationstudent_reference_educationcurriculum', 'education_edit', 'planning_detail', 'education_student_wish_list'])]
  38. private $id;
  39. /**
  40. * @var ArrayCollection<EducationCurriculum>
  41. */
  42. #[Assert\Valid]
  43. #[ORM\OneToMany(targetEntity: 'EducationCurriculum', mappedBy: 'education', cascade: ['persist'], orphanRemoval: true)]
  44. #[Groups(['educationcurriculum', 'education_educationcurriculum', 'examenconvocation_list_examen', 'access_details_practicalcourses', 'education_edit', 'accesses_no_reregistred_list_educationstudent', 'educations_quotas_stats'])]
  45. private $educationCurriculums;
  46. /**
  47. * @var ArrayCollection<CycleByEducation>
  48. */
  49. #[Assert\Valid]
  50. #[ORM\OneToMany(targetEntity: 'CycleByEducation', mappedBy: 'education', cascade: ['persist'], orphanRemoval: true)]
  51. #[Groups(['education_cyclebyeducation'])]
  52. private $cycleByEducations;
  53. /**
  54. * @var EducationCategory
  55. */
  56. #[ORM\ManyToOne(targetEntity: 'EducationCategory', inversedBy: 'educations', fetch: 'EAGER')]
  57. #[ORM\JoinColumn(nullable: false)]
  58. #[Groups(['education', 'access_details_educationstudent', 'educationcurriculum_reference_education', 'education_reference', 'student_list_educationstudent', 'intangible_list_educationcurriculums', 'examenconvocation_list_examen', 'my_student_list_educationcurriculum', 'planning_list', 'attendancebooking_list_course', 'generate_attendance', 'report_card_educationstudent', 'access_details_practicalcourses', 'presence_attendance_education', 'student_list_courses', 'examen_details_education', 'course_details_education', 'educationstudent_reference_educationcurriculum', 'edu_stu_courses_courses', 'student_registration_courses', 'educationnotation_list_educationstudent', 'education_edit', 'accesses_courseteacher_show_practicalcourses', 'planning_detail_education', 'education_input_list_educationcurriculum', 'education_input_list_access', 'education_input_list_access', 'access_attendance_detail_attendancebookings', 'education_student_wish_list_educationwish', 'education_student_next_year_educationcurriculum', 'education_student_next_year_educationstudentlastyear', 'access_intangible_list_intangible', 'worksbyusers_db_work', 'accesses_no_reregistred_list_educationstudent', 'educations_quotas_by_education_list', 'educationstudent_notation_educationcurriculum', 'educations_quotas_stats'])]
  59. private $educationCategory;
  60. /**
  61. * @var EducationComplement
  62. */
  63. #[ORM\ManyToOne(targetEntity: 'EducationComplement', fetch: 'EAGER')]
  64. #[ORM\JoinColumn(nullable: false)]
  65. #[Groups(['education', 'access_details_educationstudent', 'educationcurriculum_reference_education', 'education_reference', 'student_list_educationstudent', 'student_list_courses', 'intangible_list_educationcurriculums', 'examenconvocation_list_examen', 'my_student_list_educationcurriculum', 'planning_list', 'attendancebooking_list_course', 'generate_attendance', 'report_card_educationstudent', 'access_details_practicalcourses', 'presence_attendance_education', 'examen_details_education', 'course_details_education', 'educationstudent_reference_educationcurriculum', 'edu_stu_courses_courses', 'student_registration_courses', 'educationnotation_list_educationstudent', 'education_edit', 'education_input_list_educationcurriculum', 'education_input_list_access', 'education_input_list_access', 'access_attendance_detail_attendancebookings', 'education_student_wish_list_educationwish', 'access_intangible_list_intangible', 'worksbyusers_db_work', 'educationstudent_notation_educationcurriculum', 'accesses_no_reregistred_list_educationstudent', 'educations_quotas_by_education_list', 'educations_quotas_stats'])]
  66. private $educationComplement;
  67. /**
  68. * @var bool
  69. */
  70. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  71. #[Assert\Type(type: 'boolean')]
  72. #[Assert\NotNull]
  73. #[Groups(['education', 'education_edit', 'educations_quotas_by_education_list', 'educations_quotas_stats'])]
  74. private $hasCycle = true;
  75. /**
  76. * @var ArrayCollection<Course>
  77. */
  78. #[ORM\OneToMany(targetEntity: 'AppBundle\Entity\Booking\Course', mappedBy: 'education')]
  79. #[Groups(['education_course'])]
  80. private $courses;
  81. /**
  82. * @var ArrayCollection<Examen>
  83. */
  84. #[ORM\OneToMany(targetEntity: 'AppBundle\Entity\Booking\Examen', mappedBy: 'education')]
  85. #[Groups(['education_examen'])]
  86. private $examens;
  87. /**
  88. * @var ArrayCollection<EducationTeacher>
  89. */
  90. #[ORM\OneToMany(targetEntity: 'AppBundle\Entity\Education\EducationTeacher', mappedBy: 'education', orphanRemoval: true)]
  91. #[Groups(['education_educationteacher'])]
  92. private $educationTeachers;
  93. /**
  94. * @var bool
  95. */
  96. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  97. #[Assert\Type(type: 'boolean')]
  98. #[Assert\NotNull]
  99. #[Groups(['education', 'education_edit'])]
  100. private $isActive = true;
  101. /**
  102. * @var string
  103. * @ExportSplitFields({"educationCategory.label","educationComplementTemplate"})
  104. */
  105. #[Groups(['education', 'examenconvocation_list_examen', 'report_card_examenconvocations'])]
  106. private $fullLabelTemplate;
  107. /**
  108. * @var string
  109. */
  110. #[Groups(['education', 'template', 'education_student_next_year_educationcurriculum', 'education_student_next_year_educationstudentlastyear'])]
  111. private $educationComplementTemplate;
  112. /**
  113. * @var integer
  114. */
  115. #[ORM\Column(type: 'integer', nullable: true)]
  116. #[Assert\Type(type: 'integer')]
  117. #[Groups(['education', 'education_edit'])]
  118. private $availablePlaces;
  119. /**
  120. * @var integer
  121. */
  122. #[Groups(['educations_quotas_by_education_list', 'educations_quotas_stats'])]
  123. private $totalAvailablePlaces;
  124. /**
  125. * @var integer
  126. */
  127. #[Groups(['educations_quotas_by_education_list', 'educations_quotas_stats'])]
  128. private $totalEducationStudents;
  129. /**
  130. * @var integer
  131. */
  132. #[Groups(['educations_quotas_by_education_list'])]
  133. private $totalPendingRegistrations;
  134. /**
  135. * @var integer
  136. */
  137. #[Groups(['educations_quotas_by_education_list'])]
  138. private $totalPotentialRegistrations;
  139. /**
  140. * @var integer
  141. */
  142. #[Groups(['educations_quotas_by_education_list', 'educations_quotas_stats'])]
  143. private $fillingRate;
  144. /**
  145. * @var integer
  146. */
  147. #[Groups(['educations_quotas_by_education_list'])]
  148. private $potentialFillingRate;
  149. /**
  150. * @var integer
  151. */
  152. #[Groups(['educations_quotas_stats'])]
  153. private $averageFillingRate;
  154. /**
  155. * @var bool
  156. */
  157. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  158. #[Assert\Type(type: 'boolean')]
  159. #[Assert\NotNull]
  160. #[Groups(['education', 'education_edit', 'educations_quotas_stats', 'educations_quotas_by_education_list'])]
  161. private $availablePlacesAccordingToLevel = false;
  162. /**
  163. * @var ArrayCollection<Tagg>
  164. */
  165. #[ORM\ManyToMany(targetEntity: 'AppBundle\Entity\Core\Tagg', cascade: ['persist'], inversedBy: 'educations')]
  166. #[Assert\Valid]
  167. #[ORM\JoinTable(name: 'tag_education', joinColumns: [], inverseJoinColumns: [])]
  168. #[ORM\JoinColumn(name: 'education_id', referencedColumnName: 'id')]
  169. #[ORM\JoinColumn(name: 'tag_id', referencedColumnName: 'id')]
  170. #[Groups(['education_tags', 'manage_tags', 'education_edit'])]
  171. private $tags;
  172. /**
  173. * @var EducationNotationConfig
  174. */
  175. #[ORM\ManyToOne(targetEntity: 'AppBundle\Entity\Education\EducationNotationConfig')]
  176. #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
  177. private $educationNotationConfig;
  178. /**
  179. * @var string
  180. */
  181. #[ORM\Column(type: 'text', nullable: true)]
  182. #[Assert\Type(type: 'string')]
  183. #[Groups(['education', 'education_edit'])]
  184. private $description;
  185. /**
  186. * @var string
  187. */
  188. #[ORM\Column(type: 'text', nullable: true)]
  189. #[Assert\Type(type: 'string')]
  190. #[Groups(['education', 'education_edit'])]
  191. private $educationalTarget;
  192. /**
  193. * @var string
  194. */
  195. #[ORM\Column(type: 'text', nullable: true)]
  196. #[Assert\Type(type: 'string')]
  197. #[Groups(['education', 'education_edit'])]
  198. private $educationalContent;
  199. /**
  200. * @var string
  201. */
  202. #[ORM\Column(type: 'text', nullable: true)]
  203. #[Assert\Type(type: 'string')]
  204. #[Groups(['education', 'education_edit'])]
  205. private $howToEvaluate;
  206. /**
  207. * @var string
  208. */
  209. #[ORM\Column(type: 'text', nullable: true)]
  210. #[Assert\Type(type: 'string')]
  211. #[Groups(['education', 'education_edit'])]
  212. private $prerequisite;
  213. public function __construct() {
  214. $this->educationCurriculums = new ArrayCollection();
  215. $this->cycleByEducations = new ArrayCollection();
  216. $this->courses = new ArrayCollection();
  217. $this->examens = new ArrayCollection();
  218. $this->educationTeachers = new ArrayCollection();
  219. $this->tags = new ArrayCollection();
  220. }
  221. /**
  222. * Sets legacyId.
  223. *
  224. * @param string $legacyId
  225. *
  226. * @return $this
  227. */
  228. public function setLegacyId($legacyId)
  229. {
  230. $this->legacyId = $legacyId;
  231. return $this;
  232. }
  233. /**
  234. * Gets legacyId.
  235. *
  236. * @return string
  237. */
  238. public function getLegacyId()
  239. {
  240. return $this->legacyId;
  241. }
  242. /**
  243. * Sets id.
  244. *
  245. * @param int $id
  246. *
  247. * @return $this
  248. */
  249. public function setId($id)
  250. {
  251. $this->id = $id;
  252. return $this;
  253. }
  254. /**
  255. * Gets id.
  256. *
  257. * @return int
  258. */
  259. public function getId()
  260. {
  261. return $this->id;
  262. }
  263. /**
  264. * Sets education category.
  265. *
  266. * @param EducationCategory $educationCategory
  267. *
  268. * @return $this
  269. */
  270. public function setEducationCategory(EducationCategory $educationCategory = null)
  271. {
  272. $this->educationCategory = $educationCategory;
  273. return $this;
  274. }
  275. /**
  276. * Gets educationCategory.
  277. *
  278. * @return EducationCategory
  279. */
  280. public function getEducationCategory()
  281. {
  282. return $this->educationCategory;
  283. }
  284. /**
  285. * Sets education complement.
  286. *
  287. * @param EducationComplement $educationComplement
  288. *
  289. * @return $this
  290. */
  291. public function setEducationComplement(EducationComplement $educationComplement = null)
  292. {
  293. $this->educationComplement = $educationComplement;
  294. return $this;
  295. }
  296. /**
  297. * Gets educationComplement.
  298. *
  299. * @return EducationComplement
  300. */
  301. public function getEducationComplement()
  302. {
  303. return $this->educationComplement;
  304. }
  305. /**
  306. * Set hasCycle
  307. *
  308. * @param boolean $hasCycle
  309. *
  310. * @return Education
  311. */
  312. public function setHasCycle($hasCycle)
  313. {
  314. $this->hasCycle = $hasCycle;
  315. return $this;
  316. }
  317. /**
  318. * Get hasCycle
  319. *
  320. * @return boolean
  321. */
  322. public function getHasCycle()
  323. {
  324. return $this->hasCycle;
  325. }
  326. /**
  327. * Gets educationCurriculums.
  328. *
  329. * @return ArrayCollection<EducationCurriculum>
  330. */
  331. public function getEducationCurriculums()
  332. {
  333. return ($this->educationCurriculums) ? array_values($this->educationCurriculums->toArray()) : new ArrayCollection();
  334. }
  335. /**
  336. * Add member
  337. *
  338. * @param EducationCurriculum educationcurriculums
  339. *
  340. * @return Jury
  341. */
  342. public function addEducationCurriculum(EducationCurriculum $educationCurriculums)
  343. {
  344. $this->educationCurriculums[] = $educationCurriculums;
  345. $educationCurriculums->setEducation($this);
  346. return $this;
  347. }
  348. /**
  349. * Remove education Curriculums
  350. *
  351. * @param EducationCurriculum $educationCurriculums
  352. */
  353. public function removeEducationCurriculum(EducationCurriculum $educationCurriculums)
  354. {
  355. $this->educationCurriculums->removeElement($educationCurriculums);
  356. }
  357. /**
  358. * Gets cycleByEducations.
  359. *
  360. * @return ArrayCollection<CycleByEducation>
  361. */
  362. public function getCycleByEducations()
  363. {
  364. return ($this->cycleByEducations) ? array_values($this->cycleByEducations->toArray()) : new ArrayCollection();
  365. }
  366. /**
  367. * Add cycleByEducations
  368. *
  369. * @param CycleByEducation $cycleByEducations
  370. *
  371. * @return CycleByEducation
  372. */
  373. public function addCycleByEducation(CycleByEducation $cycleByEducations)
  374. {
  375. $this->cycleByEducations[] = $cycleByEducations;
  376. $cycleByEducations->setEducation($this);
  377. return $this;
  378. }
  379. /**
  380. * Remove CycleByEducations
  381. *
  382. * @param CycleByEducation $cycleByEducations
  383. */
  384. public function removeCycleByEducation(CycleByEducation $cycleByEducations)
  385. {
  386. $this->cycleByEducations->removeElement($cycleByEducations);
  387. }
  388. /**
  389. * Add course
  390. *
  391. * @param \AppBundle\Entity\Booking\Course $course
  392. *
  393. * @return Education
  394. */
  395. public function addCourse(\AppBundle\Entity\Booking\Course $course)
  396. {
  397. $this->courses[] = $course;
  398. return $this;
  399. }
  400. /**
  401. * Remove course
  402. *
  403. * @param \AppBundle\Entity\Booking\Course $course
  404. */
  405. public function removeCourse(\AppBundle\Entity\Booking\Course $course)
  406. {
  407. $this->courses->removeElement($course);
  408. }
  409. /**
  410. * Get courses
  411. *
  412. * @return \Doctrine\Common\Collections\Collection
  413. */
  414. public function getCourses()
  415. {
  416. return $this->courses;
  417. }
  418. /**
  419. * Add examen
  420. *
  421. * @param \AppBundle\Entity\Booking\Examen $examen
  422. *
  423. * @return Education
  424. */
  425. public function addExamen(\AppBundle\Entity\Booking\Examen $examen)
  426. {
  427. $this->examens[] = $examen;
  428. return $this;
  429. }
  430. /**
  431. * Remove examen
  432. *
  433. * @param \AppBundle\Entity\Booking\Examen $examen
  434. */
  435. public function removeExamen(\AppBundle\Entity\Booking\Examen $examen)
  436. {
  437. $this->examens->removeElement($examen);
  438. }
  439. /**
  440. * Get examens
  441. *
  442. * @return \Doctrine\Common\Collections\Collection
  443. */
  444. public function getExamens()
  445. {
  446. return $this->examens;
  447. }
  448. /**
  449. * Add educationTeacher
  450. *
  451. * @param \AppBundle\Entity\Education\EducationTeacher $educationTeacher
  452. *
  453. * @return Education
  454. */
  455. public function addEducationTeacher(\AppBundle\Entity\Education\EducationTeacher $educationTeacher)
  456. {
  457. $this->educationTeachers[] = $educationTeacher;
  458. return $this;
  459. }
  460. /**
  461. * Remove educationTeacher
  462. *
  463. * @param \AppBundle\Entity\Education\EducationTeacher $educationTeacher
  464. */
  465. public function removeEducationTeacher(\AppBundle\Entity\Education\EducationTeacher $educationTeacher)
  466. {
  467. $this->educationTeachers->removeElement($educationTeacher);
  468. }
  469. /**
  470. * Get educationTeachers
  471. *
  472. * @return \Doctrine\Common\Collections\Collection
  473. */
  474. public function getEducationTeachers()
  475. {
  476. return $this->educationTeachers;
  477. }
  478. /**
  479. * Gets full label.
  480. *
  481. * @return array
  482. */
  483. public function getFullLabelTemplate()
  484. {
  485. return [
  486. $this->getEducationCategory()->getLabel(),
  487. $this->getEducationComplementTemplate()
  488. ];
  489. }
  490. /**
  491. * Gets full label.
  492. *
  493. * @return array
  494. */
  495. public function getEducationComplementTemplate()
  496. {
  497. $educationComplement = $this->getEducationComplement() ? ($this->getEducationComplement()->getName() !== PratiqueEnum::NONE)?$this->getEducationComplement()->getName():'' : '';
  498. return ['value' => $educationComplement, 'translate' => true];
  499. }
  500. /**
  501. * Set isActive
  502. *
  503. * @param boolean $isActive
  504. *
  505. * @return Education
  506. */
  507. public function setIsActive($isActive)
  508. {
  509. $this->isActive = $isActive;
  510. return $this;
  511. }
  512. /**
  513. * Get isActive
  514. *
  515. * @return boolean
  516. */
  517. public function getIsActive()
  518. {
  519. return $this->isActive;
  520. }
  521. /**
  522. * Add tag
  523. *
  524. * @param \AppBundle\Entity\Core\Tagg $tag
  525. *
  526. * @return Education
  527. */
  528. public function addTag(\AppBundle\Entity\Core\Tagg $tag)
  529. {
  530. $this->tags[] = $tag;
  531. return $this;
  532. }
  533. /**
  534. * Remove tag
  535. *
  536. * @param \AppBundle\Entity\Core\Tagg $tag
  537. */
  538. public function removeTag(\AppBundle\Entity\Core\Tagg $tag)
  539. {
  540. $this->tags->removeElement($tag);
  541. }
  542. /**
  543. * Get tags
  544. *
  545. * @return \Doctrine\Common\Collections\Collection
  546. */
  547. public function getTags()
  548. {
  549. return $this->tags;
  550. }
  551. /**
  552. * Set availablePlacesAccordingToLevel
  553. *
  554. * @param boolean $availablePlacesAccordingToLevel
  555. *
  556. * @return Education
  557. */
  558. public function setAvailablePlacesAccordingToLevel($availablePlacesAccordingToLevel)
  559. {
  560. $this->availablePlacesAccordingToLevel = $availablePlacesAccordingToLevel;
  561. return $this;
  562. }
  563. /**
  564. * Get availablePlacesAccordingToLevel
  565. *
  566. * @return boolean
  567. */
  568. public function getAvailablePlacesAccordingToLevel()
  569. {
  570. return $this->availablePlacesAccordingToLevel;
  571. }
  572. /**
  573. * Set availablePlaces
  574. *
  575. * @param integer $availablePlaces
  576. *
  577. * @return Education
  578. */
  579. public function setAvailablePlaces($availablePlaces)
  580. {
  581. $this->availablePlaces = $availablePlaces;
  582. return $this;
  583. }
  584. /**
  585. * Get availablePlaces
  586. *
  587. * @return integer
  588. */
  589. public function getAvailablePlaces()
  590. {
  591. return $this->availablePlaces;
  592. }
  593. /**
  594. * Set totalAvailablePlaces
  595. *
  596. * @param integer $toalAvailablePlaces
  597. *
  598. * @return Education
  599. */
  600. public function setTotalAvailablePlaces($totalAvailablePlaces)
  601. {
  602. $this->totalAvailablePlaces = $totalAvailablePlaces;
  603. return $this;
  604. }
  605. /**
  606. * Get totalAvailablePlaces
  607. *
  608. * @return integer
  609. */
  610. public function getTotalAvailablePlaces()
  611. {
  612. return $this->totalAvailablePlaces;
  613. }
  614. /**
  615. * Set totalEducationStudents
  616. *
  617. * @param integer $totalEducationStudents
  618. *
  619. * @return Education
  620. */
  621. public function setTotalEducationStudents($totalEducationStudents)
  622. {
  623. $this->totalEducationStudents = $totalEducationStudents;
  624. return $this;
  625. }
  626. /**
  627. * Get totalEducationStudents
  628. *
  629. * @return integer
  630. */
  631. public function getTotalEducationStudents()
  632. {
  633. return $this->totalEducationStudents;
  634. }
  635. /**
  636. * Set $totalPendingRegistrations
  637. *
  638. * @param integer $totalPendingRegistrations
  639. *
  640. * @return Education
  641. */
  642. public function setTotalPendingRegistrations($totalPendingRegistrations)
  643. {
  644. $this->totalPendingRegistrations = $totalPendingRegistrations;
  645. return $this;
  646. }
  647. /**
  648. * Get totalPendingRegistrations
  649. *
  650. * @return integer
  651. */
  652. public function getTotalPendingRegistrations()
  653. {
  654. return $this->totalPendingRegistrations;
  655. }
  656. /**
  657. * Set $totalPotentialRegistrations
  658. *
  659. * @param integer $totalPotentialRegistrations
  660. *
  661. * @return Education
  662. */
  663. public function setTotalPotentialRegistrations($totalPotentialRegistrations)
  664. {
  665. $this->totalPotentialRegistrations = $totalPotentialRegistrations;
  666. return $this;
  667. }
  668. /**
  669. * Get totalPotentialRegistrations
  670. *
  671. * @return integer
  672. */
  673. public function getTotalPotentialRegistrations()
  674. {
  675. return $this->totalPotentialRegistrations;
  676. }
  677. /**
  678. * Set $fillingRate
  679. *
  680. * @param integer $fillingRate
  681. *
  682. * @return Education
  683. */
  684. public function setFillingRate($fillingRate)
  685. {
  686. $this->fillingRate = $fillingRate;
  687. return $this;
  688. }
  689. /**
  690. * Get $fillingRate
  691. *
  692. * @return integer
  693. */
  694. public function getFillingRate()
  695. {
  696. return $this->fillingRate;
  697. }
  698. /**
  699. * Set $averageFillingRate
  700. *
  701. * @param integer $averageFillingRate
  702. *
  703. * @return Education
  704. */
  705. public function setAverageFillingRate($averageFillingRate)
  706. {
  707. $this->averageFillingRate = $averageFillingRate;
  708. return $this;
  709. }
  710. /**
  711. * Get $averageFillingRate
  712. *
  713. * @return integer
  714. */
  715. public function getAverageFillingRate()
  716. {
  717. return $this->averageFillingRate;
  718. }
  719. /**
  720. * Set $potentialFillingRate
  721. *
  722. * @param integer $potentialFillingRate
  723. *
  724. * @return Education
  725. */
  726. public function setPotentialFillingRate($potentialFillingRate)
  727. {
  728. $this->potentialFillingRate = $potentialFillingRate;
  729. return $this;
  730. }
  731. /**
  732. * Get $potentialFillingRate
  733. *
  734. * @return integer
  735. */
  736. public function getPotentialFillingRate()
  737. {
  738. return $this->potentialFillingRate;
  739. }
  740. /**
  741. * Set description
  742. *
  743. * @param string $description
  744. *
  745. * @return Education
  746. */
  747. public function setDescription($description)
  748. {
  749. $this->description = $description;
  750. return $this;
  751. }
  752. /**
  753. * Get description
  754. *
  755. * @return string
  756. */
  757. public function getDescription()
  758. {
  759. return $this->description;
  760. }
  761. /**
  762. * Set educationalTarget
  763. *
  764. * @param string $educationalTarget
  765. *
  766. * @return Education
  767. */
  768. public function setEducationalTarget($educationalTarget)
  769. {
  770. $this->educationalTarget = $educationalTarget;
  771. return $this;
  772. }
  773. /**
  774. * Get educationalTarget
  775. *
  776. * @return string
  777. */
  778. public function getEducationalTarget()
  779. {
  780. return $this->educationalTarget;
  781. }
  782. /**
  783. * Set educationalContent
  784. *
  785. * @param string $educationalContent
  786. *
  787. * @return Education
  788. */
  789. public function setEducationalContent($educationalContent)
  790. {
  791. $this->educationalContent = $educationalContent;
  792. return $this;
  793. }
  794. /**
  795. * Get educationalContent
  796. *
  797. * @return string
  798. */
  799. public function getEducationalContent()
  800. {
  801. return $this->educationalContent;
  802. }
  803. /**
  804. * Set howToEvaluate
  805. *
  806. * @param string $howToEvaluate
  807. *
  808. * @return Education
  809. */
  810. public function setHowToEvaluate($howToEvaluate)
  811. {
  812. $this->howToEvaluate = $howToEvaluate;
  813. return $this;
  814. }
  815. /**
  816. * Get howToEvaluate
  817. *
  818. * @return string
  819. */
  820. public function getHowToEvaluate()
  821. {
  822. return $this->howToEvaluate;
  823. }
  824. /**
  825. * Set prerequisite
  826. *
  827. * @param string $prerequisite
  828. *
  829. * @return Education
  830. */
  831. public function setPrerequisite($prerequisite)
  832. {
  833. $this->prerequisite = $prerequisite;
  834. return $this;
  835. }
  836. /**
  837. * Get prerequisite
  838. *
  839. * @return string
  840. */
  841. public function getPrerequisite()
  842. {
  843. return $this->prerequisite;
  844. }
  845. }