20])] #[Assert\Range(notInRangeMessage: 'between_{{ min }}_and_{{ max }}', min: 0, max: 100)] private int $average = 20; #[ORM\Column(options: ['default' => true])] private bool $editCriteriaNotationByAdminOnly = true; #[ORM\Column(length: 255, nullable: true)] #[Assert\Regex('/^[a-z0-9]+$/i', message: 'smsSenderName_error')] private ?string $smsSenderName = null; #[ORM\Column(options: ['default' => false])] private bool $logoDonorsMove = false; #[ORM\Column(length: 60, nullable: true)] private ?string $subDomain = null; #[ORM\Column(length: 100, nullable: true)] private ?string $website = null; #[ORM\Column(length: 150, nullable: true)] private ?string $otherWebsite = null; #[ORM\Column(length: 150, nullable: true)] private ?string $customDomain = null; #[ORM\Column(options: ['default' => false])] private bool $desactivateOpentalentSiteWeb = false; #[ORM\OneToMany(mappedBy: 'publicationDirector', targetEntity: Access::class)] private Collection $publicationDirectors; #[ORM\Column(length: 255, nullable: true, enumType: BulletinOutputEnum::class)] private ?BulletinPeriodEnum $bulletinPeriod = null; #[ORM\Column(options: ['default' => false])] private bool $bulletinWithTeacher = false; #[ORM\Column(options: ['default' => false])] private bool $bulletinPrintAddress = false; #[ORM\Column(options: ['default' => true])] private bool $bulletinSignatureDirector = true; #[ORM\Column(options: ['default' => true])] private bool $bulletinDisplayLevelAcquired = true; #[ORM\Column(options: ['default' => false])] private bool $bulletinShowEducationWithoutEvaluation = false; #[ORM\Column(options: ['default' => false])] private bool $bulletinViewTestResults = false; #[ORM\Column(options: ['default' => false])] private bool $bulletinShowAbsences = false; #[ORM\Column(options: ['default' => true])] private bool $bulletinShowAverages = true; #[ORM\Column(length: 255, nullable: true, enumType: BulletinOutputEnum::class)] private ?BulletinOutputEnum $bulletinOutput = null; #[ORM\Column(options: ['default' => true])] private bool $bulletinEditWithoutEvaluation = true; #[ORM\Column(length: 255, nullable: true, enumType: SendToBulletinEnum::class, options: ['default' => SendToBulletinEnum::STUDENTS_AND_THEIR_GUARDIANS])] private ?SendToBulletinEnum $bulletinReceiver = SendToBulletinEnum::STUDENTS_AND_THEIR_GUARDIANS; #[ORM\Column(length: 255, nullable: false, enumType: BulletinCriteriaSortEnum::class, options: ['default' => BulletinCriteriaSortEnum::BY_CRITERIA_INSERT])] private ?BulletinCriteriaSortEnum $bulletinCriteriaSort = null; #[ORM\Column(length: 255, nullable: true)] private ?string $usernameSMS = null; #[ORM\Column(length: 255, nullable: true)] private ?string $passwordSMS = null; #[ORM\Column(options: ['default' => true])] private bool $showAdherentList = true; #[ORM\Column(options: ['default' => false])] private bool $studentsAreAdherents = false; #[ORM\OneToOne(inversedBy: 'qrCode', targetEntity: File::class, cascade: ['persist'], fetch: 'EAGER')] #[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')] private ?File $qrCode = null; #[ORM\Column(length: 255, enumType: TimeZoneEnum::class, options: ['default' => TimeZoneEnum::EUROPE_PARIS])] private ?TimeZoneEnum $timezone = TimeZoneEnum::EUROPE_PARIS; #[ORM\Column(length: 255, nullable: false, enumType: PeriodicityEnum::class, options: ['default' => PeriodicityEnum::ANNUAL])] private PeriodicityEnum $educationPeriodicity = PeriodicityEnum::ANNUAL; #[ORM\Column(length: 255, nullable: true, enumType: AdvancedEducationNotationTypeEnum::class, options: ['default' => AdvancedEducationNotationTypeEnum::BY_EDUCATION])] private AdvancedEducationNotationTypeEnum $advancedEducationNotationType = AdvancedEducationNotationTypeEnum::BY_EDUCATION; #[ORM\Column(options: ['default' => false])] private bool $sendAttendanceEmail = false; #[ORM\Column(options: ['default' => false])] private bool $sendAttendanceSms = false; #[ORM\Column(options: ['default' => true])] private bool $generateAttendanceReport = true; #[ORM\Column(options: ['default' => true])] private bool $consultPedagogicResult = true; #[ORM\Column(options: ['default' => true])] private bool $consultTeacherListing = true; #[ORM\Column(options: ['default' => false])] private bool $periodValidation = false; #[ORM\Column(options: ['default' => false])] private bool $requiredValidation = false; #[ORM\Column(type: 'boolean', options: ['default' => false])] private bool $notifyAdministrationAbsence = false; #[ORM\Column(options: ['default' => 2])] #[Assert\Range(notInRangeMessage: 'between_{{ min }}_and_{{ max }}', min: 2, max: 100)] private int $numberConsecutiveAbsences = 2; #[ORM\Column(options: ['default' => false])] private bool $createCourse = false; #[ORM\Column(options: ['default' => false])] private bool $updateCourse = false; #[ORM\Column(options: ['default' => false])] private bool $deleteCourse = false; #[ORM\Column(options: ['default' => false])] private bool $crudPedagogic = false; #[ORM\Column(options: ['default' => false])] private bool $administrationCc = false; #[ORM\Column(options: ['default' => true])] private bool $allowMembersToChangeGivenNameAndName = true; #[ORM\Column(options: ['default' => false])] private bool $showEducationIsACollectivePractice = false; #[Pure] public function __construct() { $this->publicationDirectors = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getOrganization(): Organization { return $this->organization; } public function setOrganization(Organization $organization): self { // set the owning side of the relation if necessary if ($organization->getParameters() !== $this) { $organization->setParameters($this); } $this->organization = $organization; return $this; } public function getFinancialDate(): ?\DateTimeInterface { return $this->financialDate; } public function setFinancialDate(?\DateTimeInterface $financialDate): self { $this->financialDate = $financialDate; return $this; } public function getMusicalDate(): ?\DateTimeInterface { return $this->musicalDate; } public function setMusicalDate(?\DateTimeInterface $musicalDate): self { $this->musicalDate = $musicalDate; return $this; } public function getStartCourseDate(): ?\DateTimeInterface { return $this->startCourseDate; } public function setStartCourseDate(?\DateTimeInterface $startCourseDate): self { $this->startCourseDate = $startCourseDate; return $this; } public function getEndCourseDate(): ?\DateTimeInterface { return $this->endCourseDate; } public function setEndCourseDate(?\DateTimeInterface $endCourseDate): self { $this->endCourseDate = $endCourseDate; return $this; } public function getAverage(): int { return $this->average; } public function setAverage(int $average): self { $this->average = $average; return $this; } public function getEditCriteriaNotationByAdminOnly(): bool { return $this->editCriteriaNotationByAdminOnly; } public function setEditCriteriaNotationByAdminOnly(bool $editCriteriaNotationByAdminOnly): self { $this->editCriteriaNotationByAdminOnly = $editCriteriaNotationByAdminOnly; return $this; } public function getSmsSenderName(): ?string { return $this->smsSenderName; } public function setSmsSenderName(?string $smsSenderName): self { $this->smsSenderName = $smsSenderName; return $this; } public function getLogoDonorsMove(): bool { return $this->logoDonorsMove; } public function setLogoDonorsMove(bool $logoDonorsMove): self { $this->logoDonorsMove = $logoDonorsMove; return $this; } public function getOtherWebsite(): ?string { return $this->otherWebsite; } public function setOtherWebsite(?string $otherWebsite): self { $this->otherWebsite = $otherWebsite; return $this; } public function getCustomDomain(): ?string { return $this->customDomain; } public function setCustomDomain(?string $customDomain): void { $this->customDomain = $customDomain; } public function getDesactivateOpentalentSiteWeb(): bool { return $this->desactivateOpentalentSiteWeb; } public function setDesactivateOpentalentSiteWeb(bool $desactivateOpentalentSiteWeb): self { $this->desactivateOpentalentSiteWeb = $desactivateOpentalentSiteWeb; return $this; } public function getBulletinPeriod(): ?BulletinPeriodEnum { return $this->bulletinPeriod; } public function setBulletinPeriod(?BulletinPeriodEnum $bulletinPeriod): self { $this->bulletinPeriod = $bulletinPeriod; return $this; } public function getPublicationDirectors(): Collection { return $this->publicationDirectors; } public function addPublicationDirector(Access $access): self { if (!$this->publicationDirectors->contains($access)) { $this->publicationDirectors[] = $access; $access->setPublicationDirector($this); } return $this; } public function removePublicationDirector(Access $access): self { if ($this->publicationDirectors->removeElement($access)) { // set the owning side to null (unless already changed) if ($access->getPublicationDirector() === $this) { $access->setPublicationDirector(null); } } return $this; } public function getBulletinWithTeacher(): bool { return $this->bulletinWithTeacher; } public function setBulletinWithTeacher(bool $bulletinWithTeacher): self { $this->bulletinWithTeacher = $bulletinWithTeacher; return $this; } public function getBulletinPrintAddress(): bool { return $this->bulletinPrintAddress; } public function setBulletinPrintAddress(bool $bulletinPrintAddress): self { $this->bulletinPrintAddress = $bulletinPrintAddress; return $this; } public function getBulletinSignatureDirector(): bool { return $this->bulletinSignatureDirector; } public function setBulletinSignatureDirector(bool $bulletinSignatureDirector): self { $this->bulletinSignatureDirector = $bulletinSignatureDirector; return $this; } public function getBulletinDisplayLevelAcquired(): bool { return $this->bulletinDisplayLevelAcquired; } public function setBulletinDisplayLevelAcquired(bool $bulletinDisplayLevelAcquired): self { $this->bulletinDisplayLevelAcquired = $bulletinDisplayLevelAcquired; return $this; } public function getBulletinShowEducationWithoutEvaluation(): bool { return $this->bulletinShowEducationWithoutEvaluation; } public function setBulletinShowEducationWithoutEvaluation(bool $bulletinShowEducationWithoutEvaluation): self { $this->bulletinShowEducationWithoutEvaluation = $bulletinShowEducationWithoutEvaluation; return $this; } public function getBulletinViewTestResults(): bool { return $this->bulletinViewTestResults; } public function setBulletinViewTestResults(bool $bulletinViewTestResults): self { $this->bulletinViewTestResults = $bulletinViewTestResults; return $this; } public function getBulletinShowAbsences(): bool { return $this->bulletinShowAbsences; } public function setBulletinShowAbsences(bool $bulletinShowAbsences): self { $this->bulletinShowAbsences = $bulletinShowAbsences; return $this; } public function getBulletinShowAverages(): bool { return $this->bulletinShowAverages; } public function setBulletinShowAverages(bool $bulletinShowAverages): self { $this->bulletinShowAverages = $bulletinShowAverages; return $this; } public function getBulletinOutput(): ?BulletinOutputEnum { return $this->bulletinOutput; } public function setBulletinOutput(?BulletinOutputEnum $bulletinOutput): self { $this->bulletinOutput = $bulletinOutput; return $this; } public function getBulletinCriteriaSort(): ?BulletinCriteriaSortEnum { return $this->bulletinCriteriaSort; } public function setBulletinCriteriaSort(?BulletinCriteriaSortEnum $bulletinCriteriaSort): self { $this->bulletinCriteriaSort = $bulletinCriteriaSort; return $this; } public function getUsernameSMS(): ?string { return $this->usernameSMS; } public function setUsernameSMS(?string $usernameSMS): self { $this->usernameSMS = $usernameSMS; return $this; } public function getPasswordSMS(): ?string { return $this->passwordSMS; } public function setPasswordSMS(?string $passwordSMS): self { $this->passwordSMS = $passwordSMS; return $this; } public function getBulletinEditWithoutEvaluation(): bool { return $this->bulletinEditWithoutEvaluation; } public function setBulletinEditWithoutEvaluation(bool $bulletinEditWithoutEvaluation): self { $this->bulletinEditWithoutEvaluation = $bulletinEditWithoutEvaluation; return $this; } public function getBulletinReceiver(): ?SendToBulletinEnum { return $this->bulletinReceiver; } public function setBulletinReceiver(?SendToBulletinEnum $bulletinReceiver): self { $this->bulletinReceiver = $bulletinReceiver; return $this; } public function getShowAdherentList(): bool { return $this->showAdherentList; } public function setShowAdherentList(bool $showAdherentList): self { $this->showAdherentList = $showAdherentList; return $this; } public function getStudentsAreAdherents(): bool { return $this->studentsAreAdherents; } public function setStudentsAreAdherents(bool $studentsAreAdherents): self { $this->studentsAreAdherents = $studentsAreAdherents; return $this; } public function getTimezone(): TimeZoneEnum { return $this->timezone; } public function setTimezone(TimeZoneEnum $timezone): self { $this->timezone = $timezone; return $this; } public function getEducationPeriodicity(): ?PeriodicityEnum { return $this->educationPeriodicity; } public function setEducationPeriodicity(?PeriodicityEnum $educationPeriodicity): self { $this->educationPeriodicity = $educationPeriodicity; return $this; } public function getAdvancedEducationNotationType(): ?AdvancedEducationNotationTypeEnum { return $this->advancedEducationNotationType; } public function setAdvancedEducationNotationType(?AdvancedEducationNotationTypeEnum $advancedEducationNotationType): self { $this->advancedEducationNotationType = $advancedEducationNotationType; return $this; } public function getQrCode(): ?File { return $this->qrCode; } public function setQrCode(?File $qrCode): self { $this->qrCode = $qrCode; return $this; } public function getSendAttendanceSms(): bool { return $this->sendAttendanceSms; } public function setSendAttendanceSms(bool $sendAttendanceSms): self { $this->sendAttendanceSms = $sendAttendanceSms; return $this; } public function getSendAttendanceEmail(): bool { return $this->sendAttendanceEmail; } public function setSendAttendanceEmail(bool $sendAttendanceEmail): self { $this->sendAttendanceEmail = $sendAttendanceEmail; return $this; } public function getSubDomain(): ?string { return $this->subDomain; } public function setSubDomain(?string $subDomain): void { $this->subDomain = $subDomain; } public function getWebsite(): ?string { return $this->website; } public function setWebsite(?string $website): void { $this->website = $website; } public function isGenerateAttendanceReport(): bool { return $this->generateAttendanceReport; } public function setGenerateAttendanceReport(bool $generateAttendanceReport): void { $this->generateAttendanceReport = $generateAttendanceReport; } public function isConsultPedagogicResult(): bool { return $this->consultPedagogicResult; } public function setConsultPedagogicResult(bool $consultPedagogicResult): void { $this->consultPedagogicResult = $consultPedagogicResult; } public function isConsultTeacherListing(): bool { return $this->consultTeacherListing; } public function setConsultTeacherListing(bool $consultTeacherListing): void { $this->consultTeacherListing = $consultTeacherListing; } /** * Period validation is enabled. */ public function isPeriodValidation(): bool { return $this->periodValidation; } public function setPeriodValidation(bool $periodValidation): void { $this->periodValidation = $periodValidation; } public function getNotifyAdministrationAbsence(): bool { return $this->notifyAdministrationAbsence; } public function setNotifyAdministrationAbsence(bool $notifyAdministrationAbsence): self { $this->notifyAdministrationAbsence = $notifyAdministrationAbsence; return $this; } public function getNumberConsecutiveAbsences(): int { return $this->numberConsecutiveAbsences; } public function setNumberConsecutiveAbsences(int $numberConsecutiveAbsences): self { $this->numberConsecutiveAbsences = $numberConsecutiveAbsences; return $this; } public function isRequiredValidation(): bool { return $this->requiredValidation; } public function setRequiredValidation(bool $requiredValidation): self { $this->requiredValidation = $requiredValidation; return $this; } public function isCreateCourse(): bool { return $this->createCourse; } public function setCreateCourse(bool $createCourse): self { $this->createCourse = $createCourse; return $this; } public function isUpdateCourse(): bool { return $this->updateCourse; } public function setUpdateCourse(bool $updateCourse): self { $this->updateCourse = $updateCourse; return $this; } public function isDeleteCourse(): bool { return $this->deleteCourse; } public function setDeleteCourse(bool $deleteCourse): self { $this->deleteCourse = $deleteCourse; return $this; } public function isCrudPedagogic(): bool { return $this->crudPedagogic; } public function setCrudPedagogic(bool $crudPedagogic): self { $this->crudPedagogic = $crudPedagogic; return $this; } public function isAdministrationCc(): bool { return $this->administrationCc; } public function setAdministrationCc(bool $administrationCc): self { $this->administrationCc = $administrationCc; return $this; } public function isAllowMembersToChangeGivenNameAndName(): bool { return $this->allowMembersToChangeGivenNameAndName; } public function setAllowMembersToChangeGivenNameAndName(bool $allowMembersToChangeGivenNameAndName): self { $this->allowMembersToChangeGivenNameAndName = $allowMembersToChangeGivenNameAndName; return $this; } public function isShowEducationIsACollectivePractice(): bool { return $this->showEducationIsACollectivePractice; } public function setShowEducationIsACollectivePractice(bool $showEducationIsACollectivePractice): self { $this->showEducationIsACollectivePractice = $showEducationIsACollectivePractice; return $this; } }