src/Entity/Clients.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ClientsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassClientsRepository::class)]
  6. class Clients
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(nullabletrue)]
  13.     private ?int $code_regroupement null;
  14.     #[ORM\Column(length100nullabletrue)]
  15.     private ?string $nom null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getCodeRegroupement(): ?int
  21.     {
  22.         return $this->code_regroupement;
  23.     }
  24.     public function setCodeRegroupement(?int $code_regroupement): self
  25.     {
  26.         $this->code_regroupement $code_regroupement;
  27.         return $this;
  28.     }
  29.     public function getNom(): ?string
  30.     {
  31.         return $this->nom;
  32.     }
  33.     public function setNom(?string $nom): self
  34.     {
  35.         $this->nom $nom;
  36.         return $this;
  37.     }
  38. }