src/Entity/Parametre.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ParametreRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassParametreRepository::class)]
  6. class Parametre
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $type null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $code null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $libelle null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $z1 null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $z2 null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getType(): ?string
  27.     {
  28.         return $this->type;
  29.     }
  30.     public function setType(string $type): self
  31.     {
  32.         $this->type $type;
  33.         return $this;
  34.     }
  35.     public function getCode(): ?string
  36.     {
  37.         return $this->code;
  38.     }
  39.     public function setCode(string $code): self
  40.     {
  41.         $this->code $code;
  42.         return $this;
  43.     }
  44.     public function getLibelle(): ?string
  45.     {
  46.         return $this->libelle;
  47.     }
  48.     public function setLibelle(string $libelle): self
  49.     {
  50.         $this->libelle $libelle;
  51.         return $this;
  52.     }
  53.     public function getZ1(): ?string
  54.     {
  55.         return $this->z1;
  56.     }
  57.     public function setZ1(string $z1): self
  58.     {
  59.         $this->z1 $z1;
  60.         return $this;
  61.     }
  62.     public function getZ2(): ?string
  63.     {
  64.         return $this->z2;
  65.     }
  66.     public function setZ2(string $z2): self
  67.     {
  68.         $this->z2 $z2;
  69.         return $this;
  70.     }
  71. }