62 lines
1.2 KiB
PHP
62 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Model;
|
|
|
|
use App\Entity\Teamer;
|
|
|
|
class AvailabilityFilterDto extends AbstractFilterDto
|
|
{
|
|
protected ?\DateTimeImmutable $dateFrom = null;
|
|
protected ?\DateTimeImmutable $dateTo = null;
|
|
protected ?Teamer $teamer = null;
|
|
protected array $jobProfiles = [];
|
|
|
|
public function getDateFrom(): ?\DateTimeImmutable
|
|
{
|
|
return $this->dateFrom;
|
|
}
|
|
|
|
public function setDateFrom(?\DateTimeImmutable $dateFrom): static
|
|
{
|
|
$this->dateFrom = $dateFrom;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDateTo(): ?\DateTimeImmutable
|
|
{
|
|
return $this->dateTo;
|
|
}
|
|
|
|
public function setDateTo(?\DateTimeImmutable $dateTo): static
|
|
{
|
|
$this->dateTo = $dateTo;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTeamer(): ?Teamer
|
|
{
|
|
return $this->teamer;
|
|
}
|
|
|
|
public function setTeamer(?Teamer $teamer): static
|
|
{
|
|
$this->teamer = $teamer;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getJobProfiles(): array
|
|
{
|
|
return $this->jobProfiles;
|
|
}
|
|
|
|
public function setJobProfiles(array $jobProfiles): static
|
|
{
|
|
$this->jobProfiles = $jobProfiles;
|
|
|
|
return $this;
|
|
}
|
|
}
|