Add recording link field

This commit is contained in:
Ryan Prather 2024-05-26 22:30:53 -04:00
parent d1ac0578f3
commit d26874d88b

View File

@ -42,6 +42,9 @@ class Note implements JsonSerializable
#[ORM\ManyToOne(inversedBy: 'notes')] #[ORM\ManyToOne(inversedBy: 'notes')]
private ?User $user = null; private ?User $user = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $recording = null;
public function getId(): ?Uuid public function getId(): ?Uuid
{ {
return $this->id; return $this->id;
@ -193,4 +196,16 @@ class Note implements JsonSerializable
'user' => $this->getUser(), 'user' => $this->getUser(),
]; ];
} }
public function getRecording(): ?string
{
return $this->recording;
}
public function setRecording(?string $recording): static
{
$this->recording = $recording;
return $this;
}
} }