|
|
@@ -123,10 +123,14 @@ class Parameters
|
|
|
#[ORM\Column(options: ['default' => true])]
|
|
|
private bool $bulletinEditWithoutEvaluation = true;
|
|
|
|
|
|
- #[ORM\Column(length: 255, nullable: true, options: ['default' => 'STUDENTS_AND_THEIR_GUARDIANS'])]
|
|
|
+ #[ORM\Column(length: 255, nullable: false, options: ['default' => 'STUDENTS_AND_THEIR_GUARDIANS'])]
|
|
|
#[Assert\Choice(callback: ['\\App\\Enum\\Organization\\SendToBulletinEnum', 'toArray'], message: 'invalid-send-to-bulletin')]
|
|
|
private ?string $bulletinReceiver = null;
|
|
|
|
|
|
+ #[ORM\Column(length: 255, nullable: false, options: ['default' => 'BY_CRITERIA_INSERT'])]
|
|
|
+ #[Assert\Choice(callback: ['\\App\\Enum\\Organization\\BulletinCriteriaSortEnum', 'toArray'], message: 'invalid-bulletin-criteria-sort')]
|
|
|
+ private string $bulletinCriteriaSort = "BY_CRITERIA_INSERT";
|
|
|
+
|
|
|
#[ORM\Column(length: 255, nullable: true)]
|
|
|
private ?string $usernameSMS = null;
|
|
|
|
|
|
@@ -459,6 +463,17 @@ class Parameters
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
+ public function getBulletinCriteriaSort(): string
|
|
|
+ {
|
|
|
+ return $this->bulletinCriteriaSort;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function setBulletinCriteriaSort(string $bulletinCriteriaSort): self
|
|
|
+ {
|
|
|
+ $this->bulletinCriteriaSort = $bulletinCriteriaSort;
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
public function getUsernameSMS(): ?string
|
|
|
{
|
|
|
return $this->usernameSMS;
|