src/Entity/Theme.php line 9
<?phpnamespace App\Entity;use App\Repository\ThemeRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ThemeRepository::class)]class Theme{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255, nullable: true)]private ?string $nom = null;#[ORM\Column(nullable: true)]private ?int $etat = 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 getEtat(): ?int{return $this->etat;}public function setEtat(?int $etat): self{$this->etat = $etat;return $this;}public function __toString(): string{return $this->nom;}}