<?php
namespace App\Entity;
use App\Repository\BriefRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BriefRepository::class)]
class Brief
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $naam = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $template = null;
#[ORM\Column]
private ?bool $enabled = null;
public function __toString()
{
return $this->naam;
}
public function getId(): ?int
{
return $this->id;
}
public function getNaam(): ?string
{
return $this->naam;
}
public function setNaam(string $naam): self
{
$this->naam = $naam;
return $this;
}
public function getTemplate(): ?string
{
return $this->template;
}
public function setTemplate(?string $template): self
{
$this->template = $template;
return $this;
}
public function isEnabled(): ?bool
{
return $this->enabled;
}
public function setEnabled(bool $enabled): self
{
$this->enabled = $enabled;
return $this;
}
}