feat: driver license check for teamers
closes #869bup9vf
This commit is contained in:
@@ -10,6 +10,7 @@ class TeamerFilterDto extends AbstractFilterDto
|
||||
protected string $pickupId = '';
|
||||
protected bool $skiLicense = false;
|
||||
protected bool $snowboardLicense = false;
|
||||
protected bool $driverLicenseVerified = false;
|
||||
protected bool $noTrainings = false;
|
||||
|
||||
public function getName(): ?string
|
||||
@@ -89,6 +90,18 @@ class TeamerFilterDto extends AbstractFilterDto
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user