Feat: Add assignment filtering for teamers

This commit is contained in:
Björn Fromme
2023-10-23 15:45:41 +02:00
parent dcf0d9af20
commit ae81c97d12
7 changed files with 88 additions and 56 deletions
+6 -8
View File
@@ -17,7 +17,12 @@ class AssignmentFilterDto
private ?JobProfile $jobProfile = null;
private ?Destination $destination = null;
private ?int $duration = null;
private bool $reset = false;
private bool $reset;
public function __construct(bool $reset = false)
{
$this->reset = $reset;
}
public function getDateFrom(): ?\DateTimeImmutable
{
@@ -83,11 +88,4 @@ class AssignmentFilterDto
{
return $this->reset;
}
public function setReset(bool $reset): static
{
$this->reset = $reset;
return $this;
}
}