<?php
namespace App\Entity;
use App\Repository\FamilleJRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FamilleJRepository::class)]
class FamilleJ
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50)]
private ?string $libele = null;
#[ORM\Column(length: 255)]
private ?string $nomequip = null;
public function getId(): ?int
{
return $this->id;
}
public function getLibele(): ?string
{
return $this->libele;
}
public function setLibele(string $libele): self
{
$this->libele = $libele;
return $this;
}
public function getNomequip(): ?string
{
return $this->nomequip;
}
public function setNomequip(string $nomequip): self
{
$this->nomequip = $nomequip;
return $this;
}
public function __toString(): string
{
return (string) $this->libele;
}
}