Files
myep-team/src/Model/TeamerFilterDto.php
T

96 lines
1.9 KiB
PHP

<?php
namespace App\Model;
class TeamerFilterDto extends AbstractFilterDto
{
protected ?string $name = null;
protected ?\DateTimeImmutable $availableAt = null;
protected array $jobProfiles = [];
protected string $pickupId = '';
protected bool $skiLicense = false;
protected bool $snowboardLicense = false;
protected bool $noTrainings = false;
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
public function getAvailableAt(): ?\DateTimeImmutable
{
return $this->availableAt;
}
public function setAvailableAt(?\DateTimeImmutable $availableAt): static
{
$this->availableAt = $availableAt;
return $this;
}
public function getJobProfiles(): array
{
return $this->jobProfiles;
}
public function setJobProfiles(array $jobProfiles): static
{
$this->jobProfiles = $jobProfiles;
return $this;
}
public function getPickupId(): string
{
return $this->pickupId;
}
public function setPickupId(string $pickupId): static
{
$this->pickupId = $pickupId;
return $this;
}
public function hasSkiLicense(): bool
{
return $this->skiLicense;
}
public function setSkiLicense(bool $skiLicense): static
{
$this->skiLicense = $skiLicense;
return $this;
}
public function hasSnowboardLicense(): bool
{
return $this->snowboardLicense;
}
public function setSnowboardLicense(bool $snowboardLicense): static
{
$this->snowboardLicense = $snowboardLicense;
return $this;
}
public function hasNoTrainings(): bool
{
return $this->noTrainings;
}
public function setNoTrainings(bool $noTrainings): void
{
$this->noTrainings = $noTrainings;
}
}