100 lines
1.9 KiB
PHP
100 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace App\Model;
|
|
|
|
use App\Entity\Teamer;
|
|
|
|
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
|
|
{
|
|
return $this->teamer;
|
|
}
|
|
|
|
public function setTeamer(?Teamer $teamer): static
|
|
{
|
|
$this->teamer = $teamer;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getType(): ?string
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
public function setType(?string $type): static
|
|
{
|
|
$this->type = $type;
|
|
|
|
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;
|
|
}
|
|
|
|
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 getStatus(): ?string
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
public function setStatus(?string $status): static
|
|
{
|
|
$this->status = $status;
|
|
|
|
return $this;
|
|
}
|
|
} |