Parameters.php 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054
  1. <?php
  2. namespace AppBundle\Entity\Organization;
  3. use AppBundle\Entity\AccessAndFunction\Access;
  4. use AppBundle\Entity\Person\CompanyPerson;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Dunglas\ApiBundle\Annotation\Iri;
  8. use Symfony\Component\Serializer\Annotation\Groups;
  9. use Symfony\Component\Validator\Constraints as Assert;
  10. use AppBundle\Entity\Traits\TimestampableEntity;
  11. use AppBundle\Entity\Traits\CreatorUpdaterEntity;
  12. use AppBundle\Validator\Constraints\Parameter as OpentalentAssert;
  13. /**
  14. * Paramètres généraux d'une organisation
  15. *
  16. * @Iri("http://schema.org/Parameters")
  17. */
  18. #[ORM\Entity]
  19. class Parameters
  20. {
  21. use TimestampableEntity;
  22. use CreatorUpdaterEntity;
  23. /**
  24. * @var int
  25. */
  26. #[ORM\Column(type: 'integer')]
  27. #[ORM\Id]
  28. #[ORM\GeneratedValue(strategy: 'AUTO')]
  29. #[Groups(['parameters', 'network_list', 'federations_list', 'network_artist_school_list', 'organization_cotisation_steps', 'organization_create'])]
  30. private $id;
  31. /**
  32. * @var \DateTime
  33. */
  34. #[ORM\Column(type: 'date', nullable: true)]
  35. #[Assert\Date]
  36. #[Groups(['parameters'])]
  37. private $financialDate;
  38. /**
  39. * @var \DateTime
  40. */
  41. #[ORM\Column(type: 'date', nullable: true)]
  42. #[Assert\Date]
  43. #[Groups(['parameters'])]
  44. private $musicalDate;
  45. /**
  46. * @var \DateTime
  47. */
  48. #[ORM\Column(type: 'date', nullable: true)]
  49. #[Assert\Date]
  50. #[Groups(['parameters'])]
  51. private $startCourseDate;
  52. /**
  53. * @var \DateTime
  54. */
  55. #[ORM\Column(type: 'date', nullable: true)]
  56. #[Assert\Date]
  57. #[Groups(['parameters'])]
  58. private $endCourseDate;
  59. /**
  60. * @var bool
  61. */
  62. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  63. #[Assert\Type(type: 'boolean')]
  64. #[Assert\NotNull]
  65. #[Groups(['parameters'])]
  66. private $trackingValidation = false;
  67. /**
  68. * @var int
  69. */
  70. #[ORM\Column(type: 'integer', options: ['default' => 20])]
  71. #[Assert\Type(type: 'integer', message: 'invalid-integer')]
  72. #[Assert\GreaterThanOrEqual(value: 0)]
  73. #[Assert\LessThanOrEqual(value: 100, message: 'lessThanOrEqual100')]
  74. #[Groups(['parameters'])]
  75. private $average = 20;
  76. /**
  77. * @var bool
  78. */
  79. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  80. #[Assert\Type(type: 'boolean')]
  81. #[Assert\NotNull]
  82. #[Groups(['parameters'])]
  83. private $editCriteriaNotationByAdminOnly = true;
  84. /**
  85. * @var string
  86. *
  87. * @OpentalentAssert\SmsSenderName
  88. */
  89. #[ORM\Column(type: 'string', length: 11, nullable: true)]
  90. #[Assert\Type(type: 'string')]
  91. #[Groups(['parameters'])]
  92. private $smsSenderName;
  93. /**
  94. * @var bool
  95. */
  96. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  97. #[Assert\Type(type: 'boolean')]
  98. #[Assert\NotNull]
  99. #[Groups(['parameters'])]
  100. private $logoDonorsMove = false;
  101. /**
  102. * @var string
  103. */
  104. #[ORM\Column(type: 'string', length: 60, nullable: true)]
  105. #[Assert\Type(type: 'string')]
  106. #[Groups(['parameters', 'network_list_parameters', 'federations_list_parameters', 'network_artist_school_list_parameters', 'organization_create_parameters'])]
  107. private $subDomain;
  108. /**
  109. * @var string
  110. */
  111. #[ORM\Column(type: 'string', length: 100, nullable: true)]
  112. #[Assert\Type(type: 'string')]
  113. #[Groups(['parameters', 'organization_cotisation_steps_parameters'])]
  114. private $website;
  115. /**
  116. * @var string
  117. */
  118. #[ORM\Column(type: 'string', length: 150, nullable: true)]
  119. #[Assert\Type(type: 'string')]
  120. #[Groups(['parameters', 'organization_cotisation_steps_parameters'])]
  121. private $otherWebsite;
  122. /**
  123. * @var bool
  124. */
  125. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  126. #[Assert\Type(type: 'boolean')]
  127. #[Assert\NotNull]
  128. #[Groups(['parameters'])]
  129. private $desactivateOpentalentSiteWeb = false;
  130. /**
  131. * @var ArrayCollection<Access>
  132. */
  133. #[ORM\OneToMany(targetEntity: 'AppBundle\Entity\AccessAndFunction\Access', mappedBy: 'publicationDirector')]
  134. #[Groups(['parameters'])]
  135. private $publicationDirectors;
  136. /**
  137. * @var string
  138. */
  139. #[ORM\Column(type: 'string', nullable: true)]
  140. #[Assert\Type(type: 'string')]
  141. #[Assert\Choice(callback: ['\AppBundle\Enum\Organization\BulletinPeriodEnum', 'toArray'])]
  142. #[Groups(['parameters'])]
  143. private $bulletinPeriod;
  144. /**
  145. * @var bool
  146. */
  147. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  148. #[Assert\Type(type: 'boolean')]
  149. #[Assert\NotNull]
  150. #[Groups(['parameters'])]
  151. private $bulletinWithTeacher = false;
  152. /**
  153. * @var bool
  154. */
  155. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  156. #[Assert\Type(type: 'boolean')]
  157. #[Assert\NotNull]
  158. #[Groups(['parameters'])]
  159. private $bulletinPrintAddress = false;
  160. /**
  161. * @var bool
  162. */
  163. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  164. #[Assert\Type(type: 'boolean')]
  165. #[Assert\NotNull]
  166. #[Groups(['parameters'])]
  167. private $bulletinSignatureDirector = true;
  168. /**
  169. * @var bool
  170. */
  171. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  172. #[Assert\Type(type: 'boolean')]
  173. #[Assert\NotNull]
  174. #[Groups(['parameters'])]
  175. private $bulletinDisplayLevelAcquired = true;
  176. /**
  177. * @var bool
  178. */
  179. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  180. #[Assert\Type(type: 'boolean')]
  181. #[Assert\NotNull]
  182. #[Groups(['parameters'])]
  183. private $bulletinShowEducationWithoutEvaluation = false;
  184. /**
  185. * @var bool
  186. */
  187. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  188. #[Assert\Type(type: 'boolean')]
  189. #[Assert\NotNull]
  190. #[Groups(['parameters'])]
  191. private $bulletinViewTestResults = false;
  192. /**
  193. * @var bool
  194. */
  195. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  196. #[Assert\Type(type: 'boolean')]
  197. #[Assert\NotNull]
  198. #[Groups(['parameters'])]
  199. private $bulletinShowAbsences = false;
  200. /**
  201. * @var bool
  202. */
  203. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  204. #[Assert\Type(type: 'boolean')]
  205. #[Assert\NotNull]
  206. #[Groups(['parameters'])]
  207. private $bulletinShowAverages = true;
  208. /**
  209. * @var string
  210. */
  211. #[ORM\Column(type: 'string', nullable: true)]
  212. #[Assert\Type(type: 'string')]
  213. #[Assert\Choice(callback: ['\AppBundle\Enum\Organization\BulletinOutputEnum', 'toArray'])]
  214. #[Groups(['parameters'])]
  215. private $bulletinOutput;
  216. /**
  217. * @var string
  218. */
  219. #[ORM\Column(type: 'string', nullable: true)]
  220. #[Assert\Type(type: 'string')]
  221. #[Groups(['parameters'])]
  222. private $usernameSMS;
  223. /**
  224. * @var string
  225. * @OpentalentAssert\PasswordSms
  226. */
  227. #[ORM\Column(type: 'string', nullable: true)]
  228. #[Assert\Type(type: 'string')]
  229. #[Groups(['parameters'])]
  230. private $passwordSMS;
  231. /**
  232. * @var bool
  233. */
  234. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  235. #[Assert\Type(type: 'boolean')]
  236. #[Assert\NotNull]
  237. #[Groups(['parameters'])]
  238. private $bulletinEditWithoutEvaluation = true;
  239. /**
  240. * @var string
  241. */
  242. #[ORM\Column(type: 'string', nullable: true, options: ['default' => 'STUDENTS_AND_THEIR_GUARDIANS'])]
  243. #[Assert\Type(type: 'string')]
  244. #[Assert\Choice(callback: ['\AppBundle\Enum\Organization\SendToBulletinEnum', 'toArray'])]
  245. #[Groups(['parameters'])]
  246. private $bulletinReceiver = "STUDENTS_AND_THEIR_GUARDIANS";
  247. /**
  248. * @var bool
  249. */
  250. #[ORM\Column(type: 'boolean', options: ['default' => true])]
  251. #[Assert\Type(type: 'boolean')]
  252. #[Assert\NotNull]
  253. #[Groups(['parameters'])]
  254. private $showAdherentList = true;
  255. /**
  256. * @var bool
  257. */
  258. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  259. #[Assert\Type(type: 'boolean')]
  260. #[Assert\NotNull]
  261. #[Groups(['parameters'])]
  262. private $studentsAreAdherents = false;
  263. /**
  264. * @Iri("https://schema.org/image")
  265. */
  266. #[ORM\OneToOne(targetEntity: 'AppBundle\Entity\Core\File', inversedBy: 'qrCode', cascade: ['persist'], fetch: 'EAGER')]
  267. #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
  268. #[Groups(['parameters'])]
  269. private $qrCode;
  270. /**
  271. * @var string
  272. */
  273. #[ORM\Column(type: 'string', nullable: true, options: ['default' => 'Europe/Paris'])]
  274. #[Assert\Type(type: 'string')]
  275. #[Assert\Choice(callback: ['\AppBundle\Enum\Core\TimeZoneEnum', 'toArrayCustom'])]
  276. #[Groups(['parameters'])]
  277. private $timezone = "Europe/Paris";
  278. /**
  279. * @var string
  280. */
  281. #[ORM\Column(type: 'string', options: ['default' => 'ANNUAL'])]
  282. #[Assert\Type(type: 'string')]
  283. #[Assert\Choice(callback: ['\AppBundle\Enum\Education\PeriodicityEnum', 'toArray'])]
  284. #[Groups(['parameters'])]
  285. private $educationPeriodicity = 'ANNUAL';
  286. /**
  287. * @var string
  288. */
  289. #[ORM\Column(type: 'string', nullable: true, options: ['default' => 'BY_EDUCATION'])]
  290. #[Assert\Type(type: 'string')]
  291. #[Assert\Choice(callback: ['\AppBundle\Enum\Education\AdvancedEducationNotationTypeEnum', 'toArray'])]
  292. #[Groups(['parameters'])]
  293. private $advancedEducationNotationType = 'BY_EDUCATION';
  294. /**
  295. * @var bool
  296. */
  297. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  298. #[Assert\Type(type: 'boolean')]
  299. #[Assert\NotNull]
  300. #[Groups(['parameters'])]
  301. private $sendAttendanceEmail = false;
  302. /**
  303. * @var bool
  304. */
  305. #[ORM\Column(type: 'boolean', options: ['default' => false])]
  306. #[Assert\Type(type: 'boolean')]
  307. #[Assert\NotNull]
  308. #[Groups(['parameters'])]
  309. private $sendAttendanceSms = false;
  310. public function __construct()
  311. {
  312. $this->publicationDirectors = new ArrayCollection();
  313. }
  314. /**
  315. * Sets id.
  316. *
  317. * @param int $id
  318. *
  319. * @return $this
  320. */
  321. public function setId($id)
  322. {
  323. $this->id = $id;
  324. return $this;
  325. }
  326. /**
  327. * Gets id.
  328. *
  329. * @return int
  330. */
  331. public function getId()
  332. {
  333. return $this->id;
  334. }
  335. /**
  336. * Sets financialDate.
  337. *
  338. * @param \DateTime $financialDate
  339. *
  340. * @return $this
  341. */
  342. public function setFinancialDate(\DateTime $financialDate = null)
  343. {
  344. $this->financialDate = $financialDate;
  345. return $this;
  346. }
  347. /**
  348. * Gets financialDate.
  349. *
  350. * @return \DateTime
  351. */
  352. public function getFinancialDate()
  353. {
  354. return $this->financialDate;
  355. }
  356. /**
  357. * Sets musicalDate.
  358. *
  359. * @param \DateTime $musicalDate
  360. *
  361. * @return $this
  362. */
  363. public function setMusicalDate(\DateTime $musicalDate = null)
  364. {
  365. $this->musicalDate = $musicalDate;
  366. return $this;
  367. }
  368. /**
  369. * Gets musicalDate.
  370. *
  371. * @return \DateTime
  372. */
  373. public function getMusicalDate()
  374. {
  375. return $this->musicalDate;
  376. }
  377. /**
  378. * Sets trackingValidation.
  379. *
  380. * @param bool $trackingValidation
  381. *
  382. * @return $this
  383. */
  384. public function setTrackingValidation($trackingValidation)
  385. {
  386. $this->trackingValidation = $trackingValidation;
  387. return $this;
  388. }
  389. /**
  390. * Gets trackingValidation.
  391. *
  392. * @return bool
  393. */
  394. public function getTrackingValidation()
  395. {
  396. return $this->trackingValidation;
  397. }
  398. /**
  399. * Sets smsSenderName.
  400. *
  401. * @param string $smsSenderName
  402. *
  403. * @return $this
  404. */
  405. public function setSmsSenderName($smsSenderName)
  406. {
  407. $this->smsSenderName = $smsSenderName;
  408. return $this;
  409. }
  410. /**
  411. * Gets smsSenderName.
  412. *
  413. * @return string
  414. */
  415. public function getSmsSenderName()
  416. {
  417. return $this->smsSenderName;
  418. }
  419. /**
  420. * Sets logoDonorsMove.
  421. *
  422. * @param bool $logoDonorsMove
  423. *
  424. * @return $this
  425. */
  426. public function setLogoDonorsMove($logoDonorsMove)
  427. {
  428. $this->logoDonorsMove = $logoDonorsMove;
  429. return $this;
  430. }
  431. /**
  432. * Gets logoDonorsMove.
  433. *
  434. * @return bool
  435. */
  436. public function getLogoDonorsMove()
  437. {
  438. return $this->logoDonorsMove;
  439. }
  440. /**
  441. * Sets subDomain.
  442. *
  443. * @param string $subDomain
  444. *
  445. * @return $this
  446. */
  447. public function setSubDomain($subDomain)
  448. {
  449. $this->subDomain = $subDomain;
  450. return $this;
  451. }
  452. /**
  453. * Gets subDomain.
  454. *
  455. * @return string
  456. */
  457. public function getSubDomain()
  458. {
  459. return $this->subDomain;
  460. }
  461. /**
  462. * Sets website.
  463. *
  464. * @param string $website
  465. *
  466. * @return $this
  467. */
  468. public function setWebsite($website)
  469. {
  470. $this->website = $website;
  471. return $this;
  472. }
  473. /**
  474. * Gets website.
  475. *
  476. * @return string
  477. */
  478. public function getWebsite()
  479. {
  480. return $this->website;
  481. }
  482. /**
  483. * Sets otherWebsite.
  484. *
  485. * @param string $otherWebsite
  486. *
  487. * @return $this
  488. */
  489. public function setOtherWebsite($otherWebsite)
  490. {
  491. $this->otherWebsite = $otherWebsite;
  492. return $this;
  493. }
  494. /**
  495. * Gets otherWebsite.
  496. *
  497. * @return string
  498. */
  499. public function getOtherWebsite()
  500. {
  501. return $this->otherWebsite;
  502. }
  503. /**
  504. * Sets DesactivateOpentalentSiteWeb.
  505. *
  506. * @param bool $desactivateOpentalentSiteWeb
  507. *
  508. * @return $this
  509. */
  510. public function setDesactivateOpentalentSiteWeb($desactivateOpentalentSiteWeb)
  511. {
  512. $this->desactivateOpentalentSiteWeb = $desactivateOpentalentSiteWeb;
  513. return $this;
  514. }
  515. /**
  516. * Gets DesactivateOpentalentSiteWeb.
  517. *
  518. * @return bool
  519. */
  520. public function getDesactivateOpentalentSiteWeb()
  521. {
  522. return $this->desactivateOpentalentSiteWeb;
  523. }
  524. /**
  525. * @param Access $access
  526. * @return $this
  527. */
  528. public function addPublicationDirector(Access $access)
  529. {
  530. $access->setPublicationDirector($this);
  531. $this->publicationDirectors[] = $access;
  532. return $this;
  533. }
  534. /**
  535. * Remove publicationDirector
  536. *
  537. * @param Access $access
  538. */
  539. public function removePublicationDirector(Access $access)
  540. {
  541. $access->setPublicationDirector(null);
  542. $this->publicationDirectors->removeElement($access);
  543. }
  544. /**
  545. * Get publicationDirectors
  546. *
  547. * @return \Doctrine\Common\Collections\Collection
  548. */
  549. public function getPublicationDirectors()
  550. {
  551. return $this->publicationDirectors;
  552. }
  553. /**
  554. * Gets bulletinPeriod
  555. *
  556. * @return string
  557. */
  558. public function getBulletinPeriod() {
  559. return $this->bulletinPeriod;
  560. }
  561. /**
  562. * Gets bulletinWithTeacher
  563. *
  564. * @return bool
  565. */
  566. public function getBulletinWithTeacher() {
  567. return $this->bulletinWithTeacher;
  568. }
  569. /**
  570. * Gets bulletinPrintAddress
  571. *
  572. * @return bool
  573. */
  574. public function getBulletinPrintAddress() {
  575. return $this->bulletinPrintAddress;
  576. }
  577. /**
  578. * Gets bulletinSignatureDirector
  579. *
  580. * @return bool
  581. */
  582. public function getBulletinSignatureDirector() {
  583. return $this->bulletinSignatureDirector;
  584. }
  585. /**
  586. * Gets bulletinDisplayLevelAcquired
  587. *
  588. * @return bool
  589. */
  590. public function getBulletinDisplayLevelAcquired() {
  591. return $this->bulletinDisplayLevelAcquired;
  592. }
  593. /**
  594. * Gets bulletinShowEducationWithoutEvaluation
  595. *
  596. * @return bool
  597. */
  598. public function getBulletinShowEducationWithoutEvaluation() {
  599. return $this->bulletinShowEducationWithoutEvaluation;
  600. }
  601. /**
  602. * Gets bulletinViewTestResults
  603. *
  604. * @return bool
  605. */
  606. public function getBulletinViewTestResults() {
  607. return $this->bulletinViewTestResults;
  608. }
  609. /**
  610. * Gets bulletinShowAbsences
  611. *
  612. * @return bool
  613. */
  614. public function getBulletinShowAbsences() {
  615. return $this->bulletinShowAbsences;
  616. }
  617. /**
  618. * Sets bulletinPeriod
  619. *
  620. * @param bool $bulletinPeriod
  621. * @return $this
  622. */
  623. public function setBulletinPeriod($bulletinPeriod) {
  624. $this->bulletinPeriod = $bulletinPeriod;
  625. return $this;
  626. }
  627. /**
  628. * Sets bulletinWithTeacher
  629. *
  630. * @param bool $bulletinWithTeacher
  631. * @return $this
  632. */
  633. public function setBulletinWithTeacher($bulletinWithTeacher) {
  634. $this->bulletinWithTeacher = $bulletinWithTeacher;
  635. return $this;
  636. }
  637. /**
  638. * Sets bulletinPrintAddress
  639. *
  640. * @param bool $bulletinPrintAddress
  641. * @return $this
  642. */
  643. public function setBulletinPrintAddress($bulletinPrintAddress) {
  644. $this->bulletinPrintAddress = $bulletinPrintAddress;
  645. return $this;
  646. }
  647. /**
  648. * Sets bulletinSignatureDirector
  649. *
  650. * @param bool $bulletinSignatureDirector
  651. * @return $this
  652. */
  653. public function setBulletinSignatureDirector($bulletinSignatureDirector) {
  654. $this->bulletinSignatureDirector = $bulletinSignatureDirector;
  655. return $this;
  656. }
  657. /**
  658. * Sets bulletinDisplayLevelAcquired
  659. *
  660. * @param bool $bulletinDisplayLevelAcquired
  661. * @return $this
  662. */
  663. public function setBulletinDisplayLevelAcquired($bulletinDisplayLevelAcquired) {
  664. $this->bulletinDisplayLevelAcquired = $bulletinDisplayLevelAcquired;
  665. return $this;
  666. }
  667. /**
  668. * Sets bulletinShowEducationWithoutEvaluation
  669. *
  670. * @param bool $bulletinShowEducationWithoutEvaluation
  671. * @return $this
  672. */
  673. public function setBulletinShowEducationWithoutEvaluation($bulletinShowEducationWithoutEvaluation) {
  674. $this->bulletinShowEducationWithoutEvaluation = $bulletinShowEducationWithoutEvaluation;
  675. return $this;
  676. }
  677. /**
  678. * Sets bulletinViewTestResults
  679. *
  680. * @param bool $bulletinViewTestResults
  681. * @return $this
  682. */
  683. public function setBulletinViewTestResults($bulletinViewTestResults) {
  684. $this->bulletinViewTestResults = $bulletinViewTestResults;
  685. return $this;
  686. }
  687. /**
  688. * Sets bulletinShowAbsences
  689. *
  690. * @param bool $bulletinShowAbsences
  691. * @return $this
  692. */
  693. public function setBulletinShowAbsences($bulletinShowAbsences) {
  694. $this->bulletinShowAbsences = $bulletinShowAbsences;
  695. return $this;
  696. }
  697. /**
  698. * Gets bulletinOutput
  699. *
  700. * @return string
  701. */
  702. public function getBulletinOutput() {
  703. return $this->bulletinOutput;
  704. }
  705. /**
  706. * Sets bulletinOutput
  707. *
  708. * @param string $bulletinOutput
  709. * @return $this
  710. */
  711. public function setBulletinOutput($bulletinOutput) {
  712. $this->bulletinOutput = $bulletinOutput;
  713. return $this;
  714. }
  715. /**
  716. * @return int
  717. */
  718. public function getAverage()
  719. {
  720. return $this->average;
  721. }
  722. /**
  723. * @param int $average
  724. */
  725. public function setAverage($average)
  726. {
  727. $this->average = $average;
  728. }
  729. /**
  730. * Gets username SMS provider
  731. *
  732. * @return string
  733. */
  734. public function getUsernameSMS() {
  735. return $this->usernameSMS;
  736. }
  737. /**
  738. * Sets username SMS provider
  739. *
  740. * @param string $usernameSMS
  741. * @return $this
  742. */
  743. public function setUsernameSMS($usernameSMS) {
  744. $this->usernameSMS = $usernameSMS;
  745. return $this;
  746. }
  747. /**
  748. * Gets password SMS provider
  749. *
  750. * @return string
  751. */
  752. public function getPasswordSMS() {
  753. return $this->passwordSMS;
  754. }
  755. /**
  756. * Sets password SMS provider
  757. *
  758. * @param string $passwordSMS
  759. * @return $this
  760. */
  761. public function setPasswordSMS($passwordSMS) {
  762. $this->passwordSMS = $passwordSMS;
  763. return $this;
  764. }
  765. /**
  766. * Set bulletinEditWithoutEvaluation
  767. *
  768. * @param boolean $bulletinEditWithoutEvaluation
  769. *
  770. * @return Parameters
  771. */
  772. public function setBulletinEditWithoutEvaluation($bulletinEditWithoutEvaluation)
  773. {
  774. $this->bulletinEditWithoutEvaluation = $bulletinEditWithoutEvaluation;
  775. return $this;
  776. }
  777. /**
  778. * Get bulletinEditWithoutEvaluation
  779. *
  780. * @return boolean
  781. */
  782. public function getBulletinEditWithoutEvaluation()
  783. {
  784. return $this->bulletinEditWithoutEvaluation;
  785. }
  786. /**
  787. * Set bulletinReceiver
  788. *
  789. * @param string $bulletinReceiver
  790. *
  791. * @return Parameters
  792. */
  793. public function setBulletinReceiver($bulletinReceiver)
  794. {
  795. $this->bulletinReceiver = $bulletinReceiver;
  796. return $this;
  797. }
  798. /**
  799. * Get bulletinReceiver
  800. *
  801. * @return string
  802. */
  803. public function getBulletinReceiver()
  804. {
  805. return $this->bulletinReceiver;
  806. }
  807. /**
  808. * Set showAdherentList
  809. *
  810. * @param boolean $showAdherentList
  811. *
  812. * @return Parameters
  813. */
  814. public function setShowAdherentList($showAdherentList)
  815. {
  816. $this->showAdherentList = $showAdherentList;
  817. return $this;
  818. }
  819. /**
  820. * Get showAdherentList
  821. *
  822. * @return boolean
  823. */
  824. public function getShowAdherentList()
  825. {
  826. return $this->showAdherentList;
  827. }
  828. /**
  829. * Set editCriteriaNotationByAdminOnly
  830. *
  831. * @param boolean $editCriteriaNotationByAdminOnly
  832. *
  833. * @return Parameters
  834. */
  835. public function setEditCriteriaNotationByAdminOnly($editCriteriaNotationByAdminOnly)
  836. {
  837. $this->editCriteriaNotationByAdminOnly = $editCriteriaNotationByAdminOnly;
  838. return $this;
  839. }
  840. /**
  841. * Get editCriteriaNotationByAdminOnly
  842. *
  843. * @return boolean
  844. */
  845. public function getEditCriteriaNotationByAdminOnly()
  846. {
  847. return $this->editCriteriaNotationByAdminOnly;
  848. }
  849. /**
  850. * @return mixed
  851. */
  852. public function getQrCode()
  853. {
  854. return $this->qrCode;
  855. }
  856. /**
  857. * @param mixed $qrCode
  858. */
  859. public function setQrCode($qrCode)
  860. {
  861. $this->qrCode = $qrCode;
  862. }
  863. /**
  864. * Set studentsAreAdherents
  865. *
  866. * @param boolean $studentsAreAdherents
  867. *
  868. * @return Parameters
  869. */
  870. public function setStudentsAreAdherents($studentsAreAdherents)
  871. {
  872. $this->studentsAreAdherents = $studentsAreAdherents;
  873. return $this;
  874. }
  875. /**
  876. * Get studentsAreAdherents
  877. *
  878. * @return boolean
  879. */
  880. public function getStudentsAreAdherents()
  881. {
  882. return $this->studentsAreAdherents;
  883. }
  884. /**
  885. * @return \DateTime
  886. */
  887. public function getStartCourseDate()
  888. {
  889. return $this->startCourseDate;
  890. }
  891. /**
  892. * @param \DateTime $startCourseDate
  893. */
  894. public function setStartCourseDate(\DateTime $startCourseDate = null)
  895. {
  896. $this->startCourseDate = $startCourseDate;
  897. }
  898. /**
  899. * @return \DateTime
  900. */
  901. public function getEndCourseDate()
  902. {
  903. return $this->endCourseDate;
  904. }
  905. /**
  906. * @param \DateTime $endCourseDate
  907. */
  908. public function setEndCourseDate(\DateTime $endCourseDate=null)
  909. {
  910. $this->endCourseDate = $endCourseDate;
  911. }
  912. /**
  913. * @return string
  914. */
  915. public function getTimezone()
  916. {
  917. return $this->timezone;
  918. }
  919. /**
  920. * @param string $timezone
  921. */
  922. public function setTimezone(string $timezone)
  923. {
  924. $this->timezone = $timezone;
  925. }
  926. /**
  927. * Set bulletinShowAverages
  928. *
  929. * @param boolean $bulletinShowAverages
  930. *
  931. * @return Parameters
  932. */
  933. public function setBulletinShowAverages($bulletinShowAverages)
  934. {
  935. $this->bulletinShowAverages = $bulletinShowAverages;
  936. return $this;
  937. }
  938. /**
  939. * Get bulletinShowAverages
  940. *
  941. * @return boolean
  942. */
  943. public function getBulletinShowAverages()
  944. {
  945. return $this->bulletinShowAverages;
  946. }
  947. /**
  948. * Set educationPeriodicity
  949. *
  950. * @param string $educationPeriodicity
  951. *
  952. * @return Parameters
  953. */
  954. public function setEducationPeriodicity($educationPeriodicity)
  955. {
  956. $this->educationPeriodicity = $educationPeriodicity;
  957. return $this;
  958. }
  959. /**
  960. * Get educationPeriodicity
  961. *
  962. * @return string
  963. */
  964. public function getEducationPeriodicity()
  965. {
  966. return $this->educationPeriodicity;
  967. }
  968. /**
  969. * Set advancedEducationNotationType
  970. *
  971. * @param string $advancedEducationNotationType
  972. *
  973. * @return Parameters
  974. */
  975. public function setAdvancedEducationNotationType($advancedEducationNotationType)
  976. {
  977. $this->advancedEducationNotationType = $advancedEducationNotationType;
  978. return $this;
  979. }
  980. /**
  981. * Get advancedEducationNotationType
  982. *
  983. * @return string
  984. */
  985. public function getAdvancedEducationNotationType()
  986. {
  987. return $this->advancedEducationNotationType;
  988. }
  989. /**
  990. * Sets sendAttendanceEmail.
  991. *
  992. * @param bool $sendAttendanceEmail
  993. *
  994. * @return $this
  995. */
  996. public function setSendAttendanceEmail($sendAttendanceEmail)
  997. {
  998. $this->sendAttendanceEmail = $sendAttendanceEmail;
  999. return $this;
  1000. }
  1001. /**
  1002. * Gets sendAttendanceEmail.
  1003. *
  1004. * @return bool
  1005. */
  1006. public function getSendAttendanceEmail()
  1007. {
  1008. return $this->sendAttendanceEmail;
  1009. }
  1010. /**
  1011. * Sets sendAttendanceSms.
  1012. *
  1013. * @param bool $sendAttendanceSms
  1014. *
  1015. * @return $this
  1016. */
  1017. public function setSendAttendanceSms($sendAttendanceSms)
  1018. {
  1019. $this->sendAttendanceSms = $sendAttendanceSms;
  1020. return $this;
  1021. }
  1022. /**
  1023. * Gets sendAttendanceSms.
  1024. *
  1025. * @return bool
  1026. */
  1027. public function getSendAttendanceSms()
  1028. {
  1029. return $this->sendAttendanceSms;
  1030. }
  1031. }