Add recording link field
This commit is contained in:
parent
d1ac0578f3
commit
d26874d88b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user