24 lines
452 B
PHP
24 lines
452 B
PHP
<?php
|
|
|
|
namespace App\Model;
|
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
|
class PersonalDataConfirmationDto
|
|
{
|
|
#[Assert\IsTrue(message: 'Deine Bestätigung ist erforderlich')]
|
|
private ?bool $confirmed = false;
|
|
|
|
public function getConfirmed(): ?bool
|
|
{
|
|
return $this->confirmed;
|
|
}
|
|
|
|
public function setConfirmed(?bool $confirmed): static
|
|
{
|
|
$this->confirmed = $confirmed;
|
|
|
|
return $this;
|
|
}
|
|
}
|