src/Entity/VariableValue.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VariableValueRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassVariableValueRepository::class)]
  6. class VariableValue
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $value null;
  14.     #[ORM\ManyToOne(inversedBy'variableValues')]
  15.     private ?Contact $contact null;
  16.     #[ORM\ManyToOne(inversedBy'variableValues')]
  17.     private ?Project $project null;
  18.     #[ORM\ManyToOne(inversedBy'variableValues')]
  19.     private ?Variable $variable null;
  20.     #[ORM\ManyToOne(inversedBy'variableValues')]
  21.     private ?User $userr null;
  22.     #[ORM\ManyToOne(inversedBy'variableValues')]
  23.     private ?Document $document null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getValue(): ?string
  29.     {
  30.         return $this->value;
  31.     }
  32.     public function setValue(string $value): static
  33.     {
  34.         $this->value $value;
  35.         return $this;
  36.     }
  37.     public function getContact(): ?Contact
  38.     {
  39.         return $this->contact;
  40.     }
  41.     public function setContact(?Contact $contact): static
  42.     {
  43.         $this->contact $contact;
  44.         return $this;
  45.     }
  46.     public function getProject(): ?Project
  47.     {
  48.         return $this->project;
  49.     }
  50.     public function setProject(?Project $project): static
  51.     {
  52.         $this->project $project;
  53.         return $this;
  54.     }
  55.     public function getVariable(): ?Variable
  56.     {
  57.         return $this->variable;
  58.     }
  59.     public function setVariable(?Variable $variable): static
  60.     {
  61.         $this->variable $variable;
  62.         return $this;
  63.     }
  64.     public function getUserr(): ?User
  65.     {
  66.         return $this->userr;
  67.     }
  68.     public function setUserr(?User $userr): static
  69.     {
  70.         $this->userr $userr;
  71.         return $this;
  72.     }
  73.     public function getDocument(): ?Document
  74.     {
  75.         return $this->document;
  76.     }
  77.     public function setDocument(?Document $document): static
  78.     {
  79.         $this->document $document;
  80.         return $this;
  81.     }
  82. }