<?php
namespace App\Entity;
use App\Repository\ThematiquesRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ThematiquesRepository::class)]
#[ORM\Table(name: "thematiques")]
class Thematiques
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 100)]
private string $nom;
#[ORM\Column(length: 255)]
private ?string $slug = null;
#[ORM\Column(type: "text", nullable: true)]
private ?string $description = null;
public function getId(): ?int{return $this->id;}
public function getNom(): ?string{return $this->nom;}
public function setNom(string $nom): self{$this->nom = $nom;return $this;}
public function getSlug(): ?string{return $this->slug;}
public function setSlug(string $slug): self{$this->slug = $slug;return $this;}
public function getDescription(): ?string{return $this->description;}
public function setDescription(?string $description): self { $this->description = $description;return $this;}
}