27 lines
519 B
PHP
27 lines
519 B
PHP
<?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;
|
|
}
|
|
}
|