src/Entity/FicheQualiteMesure.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FicheQualiteMesureRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFicheQualiteMesureRepository::class)]
  6. class FicheQualiteMesure
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityFicheQualite::class, inversedBy'mesures')]
  13.     private $fichequalite;
  14.     #[ORM\ManyToOne(targetEntityTableauMesureLibelle::class, inversedBy'ficheQualiteMesures')]
  15.     private $mesure;
  16.     #[ORM\Column(type'float'nullabletrue)]
  17.     private $valeur;
  18.     #[ORM\Column(type'float'nullabletrue)]
  19.     private $tolerance;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private $numero;
  22.     #[ORM\Column(type'float'nullabletrue)]
  23.     private $mesure1;
  24.     #[ORM\Column(type'float'nullabletrue)]
  25.     private $mesure2;
  26.     #[ORM\Column(type'integer'nullabletrue)]
  27.     private ?int $solde 0;
  28.     #[ORM\Column(type'integer'nullabletrue)]
  29.     private ?int $reparation 0;
  30.     #[ORM\Column(type'text'nullabletrue)]
  31.     private $observation;
  32.     #[ORM\Column(type'float'nullabletrue)]
  33.     private $mesure3;
  34.     #[ORM\Column(type'float'nullabletrue)]
  35.     private $mesure4;
  36.     #[ORM\Column(type'boolean'nullabletrue)]
  37.     private int $symetrie 0;
  38.     #[ORM\Column(type'integer'nullabletrue)]
  39.     private ?int $reparation_interne 0;
  40.     #[ORM\Column(type'float'nullabletrue)]
  41.     private int $temps_reparation_interne 0;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getFichequalite(): ?FicheQualite
  47.     {
  48.         return $this->fichequalite;
  49.     }
  50.     public function setFichequalite(?FicheQualite $fichequalite): self
  51.     {
  52.         $this->fichequalite $fichequalite;
  53.         return $this;
  54.     }
  55.     public function getMesure(): ?TableauMesureLibelle
  56.     {
  57.         return $this->mesure;
  58.     }
  59.     public function setMesure(?TableauMesureLibelle $mesure): self
  60.     {
  61.         $this->mesure $mesure;
  62.         return $this;
  63.     }
  64.     public function getValeur(): ?float
  65.     {
  66.         return $this->valeur;
  67.     }
  68.     public function setValeur(?float $valeur): self
  69.     {
  70.         $this->valeur $valeur;
  71.         return $this;
  72.     }
  73.     public function getTolerance(): ?float
  74.     {
  75.         return $this->tolerance;
  76.     }
  77.     public function setTolerance(?float $tolerance): self
  78.     {
  79.         $this->tolerance $tolerance;
  80.         return $this;
  81.     }
  82.     public function getNumero(): ?string
  83.     {
  84.         return $this->numero;
  85.     }
  86.     public function setNumero(?string $numero): self
  87.     {
  88.         $this->numero $numero;
  89.         return $this;
  90.     }
  91.     public function getMesure1(): ?float
  92.     {
  93.         return $this->mesure1;
  94.     }
  95.     public function setMesure1(?float $mesure1): self
  96.     {
  97.         $this->mesure1 $mesure1;
  98.         return $this;
  99.     }
  100.     public function getMesure2(): ?float
  101.     {
  102.         return $this->mesure2;
  103.     }
  104.     public function setMesure2(?float $mesure2): self
  105.     {
  106.         $this->mesure2 $mesure2;
  107.         return $this;
  108.     }
  109.     public function getSolde(): ?int
  110.     {
  111.         return $this->solde;
  112.     }
  113.     public function setSolde(?int $solde): self
  114.     {
  115.         $this->solde $solde;
  116.         return $this;
  117.     }
  118.     public function getReparation(): ?int
  119.     {
  120.         return $this->reparation;
  121.     }
  122.     public function setReparation(?int $reparation): self
  123.     {
  124.         $this->reparation $reparation;
  125.         return $this;
  126.     }
  127.     public function getObservation(): ?string
  128.     {
  129.         return $this->observation;
  130.     }
  131.     public function setObservation(?string $observation): self
  132.     {
  133.         $this->observation $observation;
  134.         return $this;
  135.     }
  136.     public function getMesure3(): ?float
  137.     {
  138.         return $this->mesure3;
  139.     }
  140.     public function setMesure3(?float $mesure3): self
  141.     {
  142.         $this->mesure3 $mesure3;
  143.         return $this;
  144.     }
  145.     public function getMesure4(): ?float
  146.     {
  147.         return $this->mesure4;
  148.     }
  149.     public function setMesure4(?float $mesure4): self
  150.     {
  151.         $this->mesure4 $mesure4;
  152.         return $this;
  153.     }
  154.     public function getSymetrie(): ?bool
  155.     {
  156.         return $this->symetrie;
  157.     }
  158.     public function setSymetrie(?bool $symetrie): self
  159.     {
  160.         $this->symetrie $symetrie;
  161.         return $this;
  162.     }
  163.     public function getReparationInterne(): ?int
  164.     {
  165.         return $this->reparation_interne;
  166.     }
  167.     public function setReparationInterne(?int $reparation_interne): self
  168.     {
  169.         $this->reparation_interne $reparation_interne;
  170.         return $this;
  171.     }
  172.     public function getTempsReparationInterne(): ?float
  173.     {
  174.         return $this->temps_reparation_interne;
  175.     }
  176.     public function setTempsReparationInterne(?float $temps_reparation_interne): self
  177.     {
  178.         $this->temps_reparation_interne $temps_reparation_interne;
  179.         return $this;
  180.     }
  181. }