feat: filter assignments and applications by country

closes #8698fpqq5
This commit is contained in:
Björn Fromme
2025-04-08 17:48:44 +02:00
parent 299c37c823
commit 947b183c50
10 changed files with 77 additions and 5 deletions
+14 -1
View File
@@ -17,6 +17,7 @@ class ApplicationFilterDto extends AbstractFilterDto
protected ?int $duration = null;
protected array $status = [];
protected bool $includePast = false;
protected ?string $country = null;
public function getId(): ?int
{
@@ -113,4 +114,16 @@ class ApplicationFilterDto extends AbstractFilterDto
return $this;
}
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): static
{
$this->country = $country;
return $this;
}
}
+13
View File
@@ -17,6 +17,7 @@ class AssignmentFilterDto extends AbstractFilterDto
protected ?int $duration = null;
protected array $status = [];
protected bool $includePast = false;
protected ?string $country = null;
public function getId(): ?int
{
@@ -113,4 +114,16 @@ class AssignmentFilterDto extends AbstractFilterDto
return $this;
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): static
{
$this->country = $country;
return $this;
}
}