Files
myep-team/src/Model/TeamerFilterDto.php
T
2026-08-11 12:26:13 +02:00

136 lines
2.8 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 $driverLicenseVerified = false;
protected bool $noTrainings = false;
protected bool $includeInactive = false;
protected bool $includeDeleted = 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 hasDriverLicenseVerified(): bool
{
return $this->driverLicenseVerified;
}
public function setDriverLicenseVerified(bool $driverLicenseVerified): static
{
$this->driverLicenseVerified = $driverLicenseVerified;
return $this;
}
public function setNoTrainings(bool $noTrainings): void
{
$this->noTrainings = $noTrainings;
}
public function isIncludeInactive(): bool
{
return $this->includeInactive;
}
public function setIncludeInactive(bool $includeInactive): static
{
$this->includeInactive = $includeInactive;
return $this;
}
public function isIncludeDeleted(): bool
{
return $this->includeDeleted;
}
public function setIncludeDeleted(bool $includeDeleted): static
{
$this->includeDeleted = $includeDeleted;
return $this;
}
}