<?php
namespace App\Entity;
use App\Repository\FicheQualiteMesureRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FicheQualiteMesureRepository::class)]
class FicheQualiteMesure
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: FicheQualite::class, inversedBy: 'mesures')]
private $fichequalite;
#[ORM\ManyToOne(targetEntity: TableauMesureLibelle::class, inversedBy: 'ficheQualiteMesures')]
private $mesure;
#[ORM\Column(type: 'float', nullable: true)]
private $valeur;
#[ORM\Column(type: 'float', nullable: true)]
private $tolerance;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $numero;
#[ORM\Column(type: 'float', nullable: true)]
private $mesure1;
#[ORM\Column(type: 'float', nullable: true)]
private $mesure2;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $solde = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $reparation = 0;
#[ORM\Column(type: 'text', nullable: true)]
private $observation;
#[ORM\Column(type: 'float', nullable: true)]
private $mesure3;
#[ORM\Column(type: 'float', nullable: true)]
private $mesure4;
#[ORM\Column(type: 'boolean', nullable: true)]
private int $symetrie = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $reparation_interne = 0;
#[ORM\Column(type: 'float', nullable: true)]
private int $temps_reparation_interne = 0;
public function getId(): ?int
{
return $this->id;
}
public function getFichequalite(): ?FicheQualite
{
return $this->fichequalite;
}
public function setFichequalite(?FicheQualite $fichequalite): self
{
$this->fichequalite = $fichequalite;
return $this;
}
public function getMesure(): ?TableauMesureLibelle
{
return $this->mesure;
}
public function setMesure(?TableauMesureLibelle $mesure): self
{
$this->mesure = $mesure;
return $this;
}
public function getValeur(): ?float
{
return $this->valeur;
}
public function setValeur(?float $valeur): self
{
$this->valeur = $valeur;
return $this;
}
public function getTolerance(): ?float
{
return $this->tolerance;
}
public function setTolerance(?float $tolerance): self
{
$this->tolerance = $tolerance;
return $this;
}
public function getNumero(): ?string
{
return $this->numero;
}
public function setNumero(?string $numero): self
{
$this->numero = $numero;
return $this;
}
public function getMesure1(): ?float
{
return $this->mesure1;
}
public function setMesure1(?float $mesure1): self
{
$this->mesure1 = $mesure1;
return $this;
}
public function getMesure2(): ?float
{
return $this->mesure2;
}
public function setMesure2(?float $mesure2): self
{
$this->mesure2 = $mesure2;
return $this;
}
public function getSolde(): ?int
{
return $this->solde;
}
public function setSolde(?int $solde): self
{
$this->solde = $solde;
return $this;
}
public function getReparation(): ?int
{
return $this->reparation;
}
public function setReparation(?int $reparation): self
{
$this->reparation = $reparation;
return $this;
}
public function getObservation(): ?string
{
return $this->observation;
}
public function setObservation(?string $observation): self
{
$this->observation = $observation;
return $this;
}
public function getMesure3(): ?float
{
return $this->mesure3;
}
public function setMesure3(?float $mesure3): self
{
$this->mesure3 = $mesure3;
return $this;
}
public function getMesure4(): ?float
{
return $this->mesure4;
}
public function setMesure4(?float $mesure4): self
{
$this->mesure4 = $mesure4;
return $this;
}
public function getSymetrie(): ?bool
{
return $this->symetrie;
}
public function setSymetrie(?bool $symetrie): self
{
$this->symetrie = $symetrie;
return $this;
}
public function getReparationInterne(): ?int
{
return $this->reparation_interne;
}
public function setReparationInterne(?int $reparation_interne): self
{
$this->reparation_interne = $reparation_interne;
return $this;
}
public function getTempsReparationInterne(): ?float
{
return $this->temps_reparation_interne;
}
public function setTempsReparationInterne(?float $temps_reparation_interne): self
{
$this->temps_reparation_interne = $temps_reparation_interne;
return $this;
}
}