|
|
@@ -53,9 +53,6 @@ class Parameters
|
|
|
#[ORM\Column(type: 'date', nullable: true)]
|
|
|
private ?\DateTimeInterface $endCourseDate = null;
|
|
|
|
|
|
- #[ORM\Column(options: ['default' => false])]
|
|
|
- private bool $trackingValidation = false;
|
|
|
-
|
|
|
#[ORM\Column(options: ['default' => 20])]
|
|
|
#[Assert\Range(
|
|
|
notInRangeMessage: 'between_{{ min }}_and_{{ max }}',
|
|
|
@@ -236,18 +233,6 @@ class Parameters
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- public function getTrackingValidation(): bool
|
|
|
- {
|
|
|
- return $this->trackingValidation;
|
|
|
- }
|
|
|
-
|
|
|
- public function setTrackingValidation(bool $trackingValidation): self
|
|
|
- {
|
|
|
- $this->trackingValidation = $trackingValidation;
|
|
|
-
|
|
|
- return $this;
|
|
|
- }
|
|
|
-
|
|
|
public function getAverage(): int
|
|
|
{
|
|
|
return $this->average;
|