Merge branch 'master' into develop
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user