<?php
namespace App\Entity;
use App\Repository\FicheReparationRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FicheReparationRepository::class)]
class FicheReparation
{
#[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: Bonnet::class, inversedBy: 'ficheReparations')]
private $bonnet;
#[ORM\ManyToOne(targetEntity: Taille::class, inversedBy: 'ficheReparations')]
private $taille;
#[ORM\ManyToOne(targetEntity: Atelier::class, inversedBy: 'ficheReparations')]
private $atelier;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $semaine;
#[ORM\ManyToOne(targetEntity: Defaut::class, inversedBy: 'ficheReparations')]
private $defaut;
#[ORM\ManyToOne(targetEntity: TableauMesureLibelle::class, inversedBy: 'ficheReparations')]
private $mesure;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_reception;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $numero_lancement;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $name;
#[ORM\ManyToOne(targetEntity: StatutReparation::class, inversedBy: 'ficheReparations')]
private $statut;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_envoi;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_retour;
#[ORM\Column(type: 'integer', nullable: true)]
private $nombre_reparation;
#[ORM\Column(type: 'integer', nullable: true)]
private $nombre_retour;
#[ORM\Column(type: 'integer', nullable: true)]
private $nombre_interne;
#[ORM\Column(type: 'integer', nullable: true)]
private $nombre_porter;
#[ORM\Column(type: 'integer', nullable: true)]
private $fiche_id;
#[ORM\Column(type: 'datetime', nullable: true)]
private $date_ecart;
public function getId(): ?int
{
return $this->id;
}
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 getBonnet(): ?Bonnet
{
return $this->bonnet;
}
public function setBonnet(?Bonnet $bonnet): self
{
$this->bonnet = $bonnet;
return $this;
}
public function getTaille(): ?Taille
{
return $this->taille;
}
public function setTaille(?Taille $taille): self
{
$this->taille = $taille;
return $this;
}
public function getAtelier(): ?Atelier
{
return $this->atelier;
}
public function setAtelier(?Atelier $atelier): self
{
$this->atelier = $atelier;
return $this;
}
public function getSemaine(): ?string
{
return $this->semaine;
}
public function setSemaine(?string $semaine): self
{
$this->semaine = $semaine;
return $this;
}
public function getDefaut(): ?Defaut
{
return $this->defaut;
}
public function setDefaut(?Defaut $defaut): self
{
$this->defaut = $defaut;
return $this;
}
public function getMesure(): ?TableauMesureLibelle
{
return $this->mesure;
}
public function setMesure(?TableauMesureLibelle $mesure): self
{
$this->mesure = $mesure;
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 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 getStatut(): ?StatutReparation
{
return $this->statut;
}
public function setStatut(?StatutReparation $statut): self
{
$this->statut = $statut;
return $this;
}
public function getDateEnvoi(): ?\DateTimeInterface
{
return $this->date_envoi;
}
public function setDateEnvoi(?\DateTimeInterface $date_envoi): self
{
$this->date_envoi = $date_envoi;
return $this;
}
public function getDateRetour(): ?\DateTimeInterface
{
return $this->date_retour;
}
public function setDateRetour(?\DateTimeInterface $date_retour): self
{
$this->date_retour = $date_retour;
return $this;
}
public function getNombreReparation(): ?int
{
return $this->nombre_reparation;
}
public function setNombreReparation(?int $nombre_reparation): self
{
$this->nombre_reparation = $nombre_reparation;
return $this;
}
public function getNombreRetour(): ?int
{
return $this->nombre_retour;
}
public function setNombreRetour(?int $nombre_retour): self
{
$this->nombre_retour = $nombre_retour;
return $this;
}
public function getNombreInterne(): ?int
{
return $this->nombre_interne;
}
public function setNombreInterne(?int $nombre_interne): self
{
$this->nombre_interne = $nombre_interne;
return $this;
}
public function getNombrePorter(): ?int
{
return $this->nombre_porter;
}
public function setNombrePorter(?int $nombre_porter): self
{
$this->nombre_porter = $nombre_porter;
return $this;
}
public function getFicheId(): ?int
{
return $this->fiche_id;
}
public function setFicheId(?int $fiche_id): self
{
$this->fiche_id = $fiche_id;
return $this;
}
public function getDateEcart(): ?\DateTimeInterface
{
return $this->date_ecart;
}
public function setDateEcart(?\DateTimeInterface $date_ecart): self
{
$this->date_ecart = $date_ecart;
return $this;
}
}