src/Entity/Role.php line 9
<?phpnamespace App\Entity;use App\Repository\RoleRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: RoleRepository::class)]class Role{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column( length: 100)]private ?string $roleName = null;#[ORM\Column(length: 100)]private ?string $libelle = null;public function getId(): ?int{return $this->id;}public function getRoleName(): ?string{return $this->roleName;}public function setRoleName(string $roleName): self{$this->roleName = $roleName;return $this;}public function getLibelle(): ?string{return $this->libelle;}public function setLibelle(string $libelle): self{$this->libelle = $libelle;return $this;}public function __toString(): string{return (string) $this->libelle;}}