feat: additional filter options for documents
This commit is contained in:
@@ -8,8 +8,11 @@ class DocumentFilterDto extends AbstractFilterDto
|
||||
{
|
||||
protected ?Teamer $teamer = null;
|
||||
protected ?string $type = null;
|
||||
protected array $jobProfiles = [];
|
||||
protected array $hotels = [];
|
||||
protected ?\DateTimeImmutable $dateFrom = null;
|
||||
protected ?\DateTimeImmutable $dateTo = null;
|
||||
protected ?string $status = null;
|
||||
|
||||
public function getTeamer(): ?Teamer
|
||||
{
|
||||
@@ -35,6 +38,30 @@ class DocumentFilterDto extends AbstractFilterDto
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getJobProfiles(): array
|
||||
{
|
||||
return $this->jobProfiles;
|
||||
}
|
||||
|
||||
public function setJobProfiles(array $jobProfiles): static
|
||||
{
|
||||
$this->jobProfiles = $jobProfiles;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHotels(): ?array
|
||||
{
|
||||
return $this->hotels;
|
||||
}
|
||||
|
||||
public function setHotels(array $hotels): static
|
||||
{
|
||||
$this->hotels = $hotels;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateFrom(): ?\DateTimeImmutable
|
||||
{
|
||||
return $this->dateFrom;
|
||||
@@ -58,4 +85,16 @@ class DocumentFilterDto extends AbstractFilterDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getStatus(): ?string
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
public function setStatus(?string $status): static
|
||||
{
|
||||
$this->status = $status;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user