|
|
@@ -173,12 +173,40 @@ class Parameters
|
|
|
#[ORM\Column(options: ['default' => true])]
|
|
|
private bool $consultTeacherListing = true;
|
|
|
|
|
|
- #[ORM\Column(options: ['default' => true])]
|
|
|
- private bool $periodValidation = 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()
|
|
|
{
|
|
|
@@ -709,4 +737,112 @@ class Parameters
|
|
|
|
|
|
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;
|
|
|
+ }
|
|
|
}
|