feat: filter assignments and applications by country
closes #8698fpqq5
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user