From d26874d88bcb5e1d2945f6b7a9b47639edb05487 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sun, 26 May 2024 22:30:53 -0400 Subject: [PATCH] Add recording link field --- src/Entity/Note.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Entity/Note.php b/src/Entity/Note.php index 703ae85..8e5dd60 100644 --- a/src/Entity/Note.php +++ b/src/Entity/Note.php @@ -42,6 +42,9 @@ class Note implements JsonSerializable #[ORM\ManyToOne(inversedBy: 'notes')] private ?User $user = null; + #[ORM\Column(length: 255, nullable: true)] + private ?string $recording = null; + public function getId(): ?Uuid { return $this->id; @@ -193,4 +196,16 @@ class Note implements JsonSerializable 'user' => $this->getUser(), ]; } + + public function getRecording(): ?string + { + return $this->recording; + } + + public function setRecording(?string $recording): static + { + $this->recording = $recording; + + return $this; + } }