Add NoteController and associated templates, entities, repository.

This commit is contained in:
2024-12-17 11:56:14 -05:00
parent 803ce84996
commit db756d83e4
17 changed files with 1408 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?php
namespace App\Entity;
use App\Repository\StandardNoteRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: StandardNoteRepository::class)]
class StandardNote extends Note
{
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $note = null;
public function getNote(): ?string
{
return $this->note;
}
public function setNote(?string $note): static
{
$this->note = $note;
return $this;
}
}