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(length255nullabletrue)]
  13.     private ?string $value_textcourt null;
  14.     #[ORM\Column(type'integer'options: ['default' => 1])]
  15.     private int $etat 1;
  16.     #[ORM\Column(type'bigint'nullabletrue)]
  17.     private ?string $value_int null;
  18.     #[ORM\Column(type'decimal'precision18scale8nullabletrue)]
  19.     private ?string $value_decimal null;
  20.     #[ORM\Column(type'text'nullabletrue)]
  21.     private ?string $value_textlong null;
  22.     #[ORM\Column(type'datetimetz'nullabletrue)]
  23.     private ?\DateTimeInterface $value_datetime null;
  24.     #[ORM\ManyToOne(inversedBy'variableValues')]
  25.     private ?Contact $contact null;
  26.     #[ORM\ManyToOne(inversedBy'variableValues')]
  27.     private ?Objet $objet null;
  28.     #[ORM\ManyToOne(inversedBy'variableValues')]
  29.     private ?Variable $variable null;
  30.     #[ORM\ManyToOne(inversedBy'variableValues')]
  31.     private ?User $userr null;
  32.     #[ORM\ManyToOne(inversedBy'variableValues')]
  33.     private ?Document $document null;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getValueTextcourt(): ?string
  39.     {
  40.         return $this->value_textcourt;
  41.     }
  42.     public function setValueTextcourt(?string $value_textcourt): static
  43.     {
  44.         $this->value_textcourt $value_textcourt;
  45.         return $this;
  46.     }
  47.     public function getContact(): ?Contact
  48.     {
  49.         return $this->contact;
  50.     }
  51.     public function setContact(?Contact $contact): static
  52.     {
  53.         $this->contact $contact;
  54.         return $this;
  55.     }
  56.     public function getObjet(): ?Objet
  57.     {
  58.         return $this->objet;
  59.     }
  60.     public function setObjet(?Objet $objet): static
  61.     {
  62.         $this->objet $objet;
  63.         return $this;
  64.     }
  65.     public function getVariable(): ?Variable
  66.     {
  67.         return $this->variable;
  68.     }
  69.     public function setVariable(?Variable $variable): static
  70.     {
  71.         $this->variable $variable;
  72.         return $this;
  73.     }
  74.     public function getUserr(): ?User
  75.     {
  76.         return $this->userr;
  77.     }
  78.     public function setUserr(?User $userr): static
  79.     {
  80.         $this->userr $userr;
  81.         return $this;
  82.     }
  83.     public function getDocument(): ?Document
  84.     {
  85.         return $this->document;
  86.     }
  87.     public function setDocument(?Document $document): static
  88.     {
  89.         $this->document $document;
  90.         return $this;
  91.     }
  92.     public function getEtat(): int
  93.     {
  94.         return $this->etat;
  95.     }
  96.     public function setEtat(int $etat): static
  97.     {
  98.         $this->etat $etat;
  99.         return $this;
  100.     }
  101.     public function getValueInt(): ?string
  102.     {
  103.         return $this->value_int;
  104.     }
  105.     public function setValueInt(?string $value_int): static
  106.     {
  107.         $this->value_int $value_int;
  108.         return $this;
  109.     }
  110.     public function getValueDecimal(): ?string
  111.     {
  112.         return $this->value_decimal;
  113.     }
  114.     public function setValueDecimal(?string $value_decimal): static
  115.     {
  116.         $this->value_decimal $value_decimal;
  117.         return $this;
  118.     }
  119.     public function getValueTextlong(): ?string
  120.     {
  121.         return $this->value_textlong;
  122.     }
  123.     public function setValueTextlong(?string $value_textlong): static
  124.     {
  125.         $this->value_textlong $value_textlong;
  126.         return $this;
  127.     }
  128.     public function getValueDatetime(): ?\DateTimeInterface
  129.     {
  130.         return $this->value_datetime;
  131.     }
  132.     public function setValueDatetime(?\DateTimeInterface $value_datetime): static
  133.     {
  134.         $this->value_datetime $value_datetime;
  135.         return $this;
  136.     }
  137. }