|
|
@@ -23,7 +23,7 @@ abstract class AbstractMessage
|
|
|
protected ?int $id = null;
|
|
|
|
|
|
#[ORM\Column(type: 'string', unique: true)]
|
|
|
- protected ?string $uuid = null;
|
|
|
+ protected ?UuidInterface $uuid = null;
|
|
|
|
|
|
#[ORM\ManyToOne]
|
|
|
#[ORM\JoinColumn(nullable: true)]
|
|
|
@@ -48,7 +48,7 @@ abstract class AbstractMessage
|
|
|
return $this->id;
|
|
|
}
|
|
|
|
|
|
- public function getUuid(): ?string
|
|
|
+ public function getUuid(): ?UuidInterface
|
|
|
{
|
|
|
return $this->uuid;
|
|
|
}
|