Merge branch 'master' into develop

This commit is contained in:
Björn Fromme
2024-07-16 17:34:56 +02:00
13 changed files with 161 additions and 41 deletions
+10 -10
View File
@@ -14,8 +14,8 @@ class AssignmentFilterDto extends AbstractFilterDto
protected ?\DateTimeImmutable $dateFrom = null;
protected ?\DateTimeImmutable $dateTo = null;
protected ?JobProfile $jobProfile = null;
protected ?string $hotel = null;
protected array $jobProfiles = [];
protected array $hotels = [];
protected ?int $duration = null;
protected array $status = [];
protected bool $includePast = false;
@@ -44,26 +44,26 @@ class AssignmentFilterDto extends AbstractFilterDto
return $this;
}
public function getJobProfile(): ?JobProfile
public function getJobProfiles(): array
{
return $this->jobProfile;
return $this->jobProfiles;
}
public function setJobProfile(?JobProfile $jobProfile): static
public function setJobProfiles(array $jobProfiles): static
{
$this->jobProfile = $jobProfile;
$this->jobProfiles = $jobProfiles;
return $this;
}
public function getHotel(): ?string
public function getHotels(): ?array
{
return $this->hotel;
return $this->hotels;
}
public function setHotel(?string $hotel): static
public function setHotels(array $hotels): static
{
$this->hotel = $hotel;
$this->hotels = $hotels;
return $this;
}