feat: filter assignments by status

This commit is contained in:
Björn Fromme
2024-01-31 20:15:24 +01:00
parent aef01f25b7
commit 69c83288a5
5 changed files with 35 additions and 0 deletions
+13
View File
@@ -17,6 +17,7 @@ class AssignmentFilterDto extends AbstractFilterDto
protected ?JobProfile $jobProfile = null;
protected ?Destination $destination = null;
protected ?int $duration = null;
protected ?string $status = null;
public function getDateFrom(): ?\DateTimeImmutable
{
@@ -77,4 +78,16 @@ class AssignmentFilterDto extends AbstractFilterDto
return $this;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): static
{
$this->status = $status;
return $this;
}
}