add message link to staff note signature notifications
This commit is contained in:
@ -41,6 +41,9 @@ class Messages
|
||||
#[ORM\JoinColumn(nullable: false)]
|
||||
private ?User $sender = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $link = null;
|
||||
|
||||
public function getId(): ?Uuid
|
||||
{
|
||||
return $this->id;
|
||||
@ -141,4 +144,16 @@ class Messages
|
||||
'message' => $this->message
|
||||
];
|
||||
}
|
||||
|
||||
public function getLink(): ?string
|
||||
{
|
||||
return $this->link;
|
||||
}
|
||||
|
||||
public function setLink(?string $link): static
|
||||
{
|
||||
$this->link = $link;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user