<?php
namespace App\Entity;
use App\Repository\FicheQualiteSyntheseRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FicheQualiteSyntheseRepository::class)]
class FicheQualiteSynthese
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $reference;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $coloris;
#[ORM\ManyToOne(targetEntity: Atelier::class, inversedBy: 'ficheQualiteSyntheses')]
private $atelier;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $quantite;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $numero_lancement;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $name;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_reception;
#[ORM\Column(type: 'float', nullable: true)]
private $quantite_controle;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_solde = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_reparation = 0;
#[ORM\Column(type: 'boolean', nullable: true)]
private $ferme;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_fermeture;
#[ORM\ManyToOne(targetEntity: ParametrageEchantillon::class, inversedBy: 'ficheQualiteSyntheses')]
private $parametrage_echantillon;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_defaut_mineur = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_defaut_majeur = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_defaut_critique = 0;
#[ORM\ManyToOne(targetEntity: FichePreserie::class, inversedBy: 'ficheQualiteSyntheses')]
private $fiche_preserie;
#[ORM\ManyToOne(targetEntity: StatutQualiteSynthese::class, inversedBy: 'ficheQualiteSyntheses')]
private $statut;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $quantite_lancement;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_creation;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_update;
#[ORM\ManyToOne(targetEntity: StatutQualiteAtelier::class, inversedBy: 'ficheQualiteSyntheses')]
private $statut_atelier;
#[ORM\Column(type: 'boolean', nullable: true)]
private int $ferme_atelier = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private $total_reparation_cent;
#[ORM\Column(type: 'integer', nullable: true)]
private $total_solde_cent;
#[ORM\Column(type: 'integer', nullable: true)]
private $total_defaut_mineur_cent;
#[ORM\Column(type: 'integer', nullable: true)]
private $total_defaut_majeur_cent;
#[ORM\Column(type: 'integer', nullable: true)]
private $total_defaut_critique_cent;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $nombre_piece_nc = 0;
#[ORM\Column(type: 'float', nullable: true)]
private int $temps_passe = 0;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $total_reparation_interne = 0;
#[ORM\Column(type: 'float', nullable: true)]
private int $total_temps_reparation_interne = 0;
#[ORM\Column(type: 'float', nullable: true)]
private int $total_temps_controle = 0;
#[ORM\Column(type: 'float', nullable: true)]
private int $temps_passe100 = 0;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $numero_adr;
#[ORM\Column(type: 'float', nullable: true)]
private $quantite_derogation;
#[ORM\Column(type: 'boolean', nullable: true)]
private int $cotraitance = 0;
public function getId(): ?int
{
return $this->id;
}
public function getFichePreserie(): ?FichePreserie
{
return $this->fiche_preserie;
}
public function setFichePreserie(?FichePreserie $fiche_preserie): self
{
$this->fiche_preserie = $fiche_preserie;
return $this;
}
public function getReference(): ?string
{
return $this->reference;
}
public function setReference(?string $reference): self
{
$this->reference = $reference;
return $this;
}
public function getColoris(): ?string
{
return $this->coloris;
}
public function setColoris(?string $coloris): self
{
$this->coloris = $coloris;
return $this;
}
public function getAtelier(): ?Atelier
{
return $this->atelier;
}
public function setAtelier(?Atelier $atelier): self
{
$this->atelier = $atelier;
return $this;
}
public function getQuantite(): ?string
{
return $this->quantite;
}
public function setQuantite(?string $quantite): self
{
$this->quantite = $quantite;
return $this;
}
public function getNumeroLancement(): ?string
{
return $this->numero_lancement;
}
public function setNumeroLancement(?string $numero_lancement): self
{
$this->numero_lancement = $numero_lancement;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getDateReception(): ?\DateTimeInterface
{
return $this->date_reception;
}
public function setDateReception(?\DateTimeInterface $date_reception): self
{
$this->date_reception = $date_reception;
return $this;
}
public function getQuantiteControle(): ?float
{
return $this->quantite_controle;
}
public function setQuantiteControle(?float $quantite_controle): self
{
$this->quantite_controle = $quantite_controle;
return $this;
}
public function getTotalSolde(): ?int
{
return $this->total_solde;
}
public function setTotalSolde(?int $total_solde): self
{
$this->total_solde = $total_solde;
return $this;
}
public function getTotalReparation(): ?int
{
return $this->total_reparation;
}
public function setTotalReparation(?int $total_reparation): self
{
$this->total_reparation = $total_reparation;
return $this;
}
public function getFerme(): ?bool
{
return $this->ferme;
}
public function setFerme(?bool $ferme): self
{
$this->ferme = $ferme;
return $this;
}
public function getDateFermeture(): ?\DateTimeInterface
{
return $this->date_fermeture;
}
public function setDateFermeture(?\DateTimeInterface $date_fermeture): self
{
$this->date_fermeture = $date_fermeture;
return $this;
}
public function getParametrageEchantillon(): ?ParametrageEchantillon
{
return $this->parametrage_echantillon;
}
public function setParametrageEchantillon(?ParametrageEchantillon $parametrage_echantillon): self
{
$this->parametrage_echantillon = $parametrage_echantillon;
return $this;
}
public function getTotalDefautMineur(): ?int
{
return $this->total_defaut_mineur;
}
public function setTotalDefautMineur(?int $total_defaut_mineur): self
{
$this->total_defaut_mineur = $total_defaut_mineur;
return $this;
}
public function getTotalDefautMajeur(): ?int
{
return $this->total_defaut_majeur;
}
public function setTotalDefautMajeur(?int $total_defaut_majeur): self
{
$this->total_defaut_majeur = $total_defaut_majeur;
return $this;
}
public function getTotalDefautCritique(): ?int
{
return $this->total_defaut_critique;
}
public function setTotalDefautCritique(?int $total_defaut_critique): self
{
$this->total_defaut_critique = $total_defaut_critique;
return $this;
}
public function getStatut(): ?StatutQualiteSynthese
{
return $this->statut;
}
public function setStatut(?StatutQualiteSynthese $statut): self
{
$this->statut = $statut;
return $this;
}
public function getQuantiteLancement(): ?string
{
return $this->quantite_lancement;
}
public function setQuantiteLancement(?string $quantite_lancement): self
{
$this->quantite_lancement = $quantite_lancement;
return $this;
}
public function getDateCreation(): ?\DateTimeInterface
{
return $this->date_creation;
}
public function setDateCreation(?\DateTimeInterface $date_creation): self
{
$this->date_creation = $date_creation;
return $this;
}
public function getDateUpdate(): ?\DateTimeInterface
{
return $this->date_update;
}
public function setDateUpdate(?\DateTimeInterface $date_update): self
{
$this->date_update = $date_update;
return $this;
}
public function getStatutAtelier(): ?StatutQualiteAtelier
{
return $this->statut_atelier;
}
public function setStatutAtelier(?StatutQualiteAtelier $statut_atelier): self
{
$this->statut_atelier = $statut_atelier;
return $this;
}
public function getFermeAtelier(): ?bool
{
return $this->ferme_atelier;
}
public function setFermeAtelier(?bool $ferme_atelier): self
{
$this->ferme_atelier = $ferme_atelier;
return $this;
}
public function getTotalReparationCent(): ?int
{
return $this->total_reparation_cent;
}
public function setTotalReparationCent(?int $total_reparation_cent): self
{
$this->total_reparation_cent = $total_reparation_cent;
return $this;
}
public function getTotalSoldeCent(): ?int
{
return $this->total_solde_cent;
}
public function setTotalSoldeCent(?int $total_solde_cent): self
{
$this->total_solde_cent = $total_solde_cent;
return $this;
}
public function getTotalDefautMineurCent(): ?int
{
return $this->total_defaut_mineur_cent;
}
public function setTotalDefautMineurCent(?int $total_defaut_mineur_cent): self
{
$this->total_defaut_mineur_cent = $total_defaut_mineur_cent;
return $this;
}
public function getTotalDefautMajeurCent(): ?int
{
return $this->total_defaut_majeur_cent;
}
public function setTotalDefautMajeurCent(?int $total_defaut_majeur_cent): self
{
$this->total_defaut_majeur_cent = $total_defaut_majeur_cent;
return $this;
}
public function getTotalDefautCritiqueCent(): ?int
{
return $this->total_defaut_critique_cent;
}
public function setTotalDefautCritiqueCent(?int $total_defaut_critique_cent): self
{
$this->total_defaut_critique_cent = $total_defaut_critique_cent;
return $this;
}
public function getNombrePieceNc(): ?int
{
return $this->nombre_piece_nc;
}
public function setNombrePieceNc(?int $nombre_piece_nc): self
{
$this->nombre_piece_nc = $nombre_piece_nc;
return $this;
}
public function getTempsPasse(): ?float
{
return $this->temps_passe;
}
public function setTempsPasse(?float $temps_passe): self
{
$this->temps_passe = $temps_passe;
return $this;
}
public function getTotalReparationInterne(): ?int
{
return $this->total_reparation_interne;
}
public function setTotalReparationInterne(?int $total_reparation_interne): self
{
$this->total_reparation_interne = $total_reparation_interne;
return $this;
}
public function getTotalTempsReparationInterne(): ?float
{
return $this->total_temps_reparation_interne;
}
public function setTotalTempsReparationInterne(?float $total_temps_reparation_interne): self
{
$this->total_temps_reparation_interne = $total_temps_reparation_interne;
return $this;
}
public function getTotalTempsControle(): ?float
{
return $this->total_temps_controle;
}
public function setTotalTempsControle(?float $total_temps_controle): self
{
$this->total_temps_controle = $total_temps_controle;
return $this;
}
public function getTempsPasse100(): ?float
{
return $this->temps_passe100;
}
public function setTempsPasse100(?float $temps_passe_100): self
{
$this->temps_passe100 = $temps_passe_100;
return $this;
}
public function getNumeroAdr(): ?string
{
return $this->numero_adr;
}
public function setNumeroAdr(?string $numero_adr): self
{
$this->numero_adr = $numero_adr;
return $this;
}
public function getQuantiteDerogation(): ?float
{
return $this->quantite_derogation;
}
public function setQuantiteDerogation(?float $quantite_derogation): self
{
$this->quantite_derogation = $quantite_derogation;
return $this;
}
public function getCotraitance(): ?bool
{
return $this->cotraitance;
}
public function setCotraitance(?bool $cotraitance): self
{
$this->cotraitance = $cotraitance;
return $this;
}
}