<?php
namespace App\Entity;
use App\Repository\PoitestRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PoitestRepository::class)]
class Poitest
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\OneToOne(cascade: ['persist', 'remove'])]
private ?AudioTextBlock $title = null;
#[ORM\OneToOne(cascade: ['persist', 'remove'])]
private ?AudioTextBlock $description = null;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?AudioTextBlock
{
return $this->title;
}
public function setTitle(?AudioTextBlock $title): self
{
$this->title = $title;
return $this;
}
public function getDescription(): ?AudioTextBlock
{
return $this->description;
}
public function setDescription(?AudioTextBlock $description): self
{
$this->description = $description;
return $this;
}
}