|
@@ -28,8 +28,9 @@ class Participation
|
|
|
#[ORM\Column(length: 255)]
|
|
|
private ?string $participantEmail = null;
|
|
|
|
|
|
- #[ORM\Column(type: 'phone_number', nullable: true)]
|
|
|
- private ?PhoneNumber $participantPhone = null;
|
|
|
+ #[MisdAssert\PhoneNumber()]
|
|
|
+ #[ORM\Column(length: 255, nullable: true)]
|
|
|
+ private ?string $participantPhone = null;
|
|
|
|
|
|
#[ORM\Column(nullable: true)]
|
|
|
private ?bool $consentMail = null;
|
|
@@ -85,12 +86,12 @@ class Participation
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- public function getParticipantPhone(): ?PhoneNumber
|
|
|
+ public function getParticipantPhone(): ?string
|
|
|
{
|
|
|
return $this->participantPhone;
|
|
|
}
|
|
|
|
|
|
- public function setParticipantPhone(?PhoneNumber $participantPhone): static
|
|
|
+ public function setParticipantPhone(?string $participantPhone): static
|
|
|
{
|
|
|
$this->participantPhone = $participantPhone;
|
|
|
|