feat: driver license check for teamers

closes #869bup9vf
This commit is contained in:
Björn Fromme committed 2026-03-15 12:42:28 +01:00
1 parent ebbefa0129
commit 20da6a0afc
32 files changed
+1095 -6

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Model;
use Symfony\Component\Validator\Constraints as Assert;
class DriverLicenseDeclarationDto
{
#[Assert\NotNull(message: 'Bitte gib an, ob du einen Führerschein hast.')]
private ?bool $hasDriverLicense = null;
public function __construct(?bool $hasDriverLicense = null)
{
$this->hasDriverLicense = $hasDriverLicense;
}
public function hasDriverLicense(): ?bool
{
return $this->hasDriverLicense;
}
public function setHasDriverLicense(?bool $hasDriverLicense): static
{
$this->hasDriverLicense = $hasDriverLicense;
return $this;
}
}