src/Entity/SystemeProduction.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\SystemeProductionRepository;
  5. #[ORM\Entity(repositoryClassSystemeProductionRepository::class)]
  6. class SystemeProduction
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length100)]
  13.     private $libelle;
  14.     public function getId(): ?int
  15.     {
  16.         return $this->id;
  17.     }
  18.     public function getLibelle(): ?string
  19.     {
  20.         return $this->libelle;
  21.     }
  22.     public function setLibelle(string $libelle): self
  23.     {
  24.         $this->libelle $libelle;
  25.         return $this;
  26.     }
  27. }