<?php
namespace App\Entity;
use App\Repository\GlossaireRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: GlossaireRepository::class)]
class Glossaire
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private int $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $terme= null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $definition= null;
public function getId(): ?int
{
return $this->id;
}
public function getTerme(): ?string
{
return $this->terme;
}
public function setTerme(?string $terme): self
{
$this->terme = $terme;
return $this;
}
public function getDefinition(): ?string
{
return $this->definition;
}
public function setDefinition(?string $definition): self
{
$this->definition = $definition;
return $this;
}
}