src/Entity/VariableConstants.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VariableConstantsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassVariableConstantsRepository::class)]
  6. class VariableConstants
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column()]
  11.     private ?int $id null;
  12.     #[ORM\Column(length15)]
  13.     private ?string $code null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $libelle null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $valeur null;
  18.     #[ORM\Column]
  19.     private ?int $status null;
  20.     #[ORM\ManyToOne(inversedBy'variableConstants')]
  21.     private ?Variables $variable null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getCode(): ?string
  27.     {
  28.         return $this->code;
  29.     }
  30.     public function setCode(string $code): self
  31.     {
  32.         $this->code $code;
  33.         return $this;
  34.     }
  35.     public function getLibelle(): ?string
  36.     {
  37.         return $this->libelle;
  38.     }
  39.     public function setLibelle(string $libelle): self
  40.     {
  41.         $this->libelle $libelle;
  42.         return $this;
  43.     }
  44.     public function getValeur(): ?string
  45.     {
  46.         return $this->valeur;
  47.     }
  48.     public function setValeur(string $valeur): self
  49.     {
  50.         $this->valeur $valeur;
  51.         return $this;
  52.     }
  53.     public function getStatus(): ?int
  54.     {
  55.         return $this->status;
  56.     }
  57.     public function setStatus(int $status): self
  58.     {
  59.         $this->status $status;
  60.         return $this;
  61.     }
  62.     public function getVariable(): ?Variables
  63.     {
  64.         return $this->variable;
  65.     }
  66.     public function setVariable(?Variables $variable): self
  67.     {
  68.         $this->variable $variable;
  69.         return $this;
  70.     }
  71. }