src/Entity/FicheReparation.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FicheReparationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFicheReparationRepository::class)]
  6. class FicheReparation
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255nullabletrue)]
  13.     private $reference;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private $coloris;
  16.     #[ORM\ManyToOne(targetEntityBonnet::class, inversedBy'ficheReparations')]
  17.     private $bonnet;
  18.     #[ORM\ManyToOne(targetEntityTaille::class, inversedBy'ficheReparations')]
  19.     private $taille;
  20.     #[ORM\ManyToOne(targetEntityAtelier::class, inversedBy'ficheReparations')]
  21.     private $atelier;
  22.     #[ORM\Column(type'string'length255nullabletrue)]
  23.     private $semaine;
  24.     #[ORM\ManyToOne(targetEntityDefaut::class, inversedBy'ficheReparations')]
  25.     private $defaut;
  26.     #[ORM\ManyToOne(targetEntityTableauMesureLibelle::class, inversedBy'ficheReparations')]
  27.     private $mesure;
  28.     #[ORM\Column(type'datetime'nullabletrue)]
  29.     private $date_reception;
  30.     #[ORM\Column(type'string'length255nullabletrue)]
  31.     private $numero_lancement;
  32.     #[ORM\Column(type'string'length255nullabletrue)]
  33.     private $name;
  34.     #[ORM\ManyToOne(targetEntityStatutReparation::class, inversedBy'ficheReparations')]
  35.     private $statut;
  36.     #[ORM\Column(type'datetime'nullabletrue)]
  37.     private $date_envoi;
  38.     #[ORM\Column(type'datetime'nullabletrue)]
  39.     private $date_retour;
  40.     #[ORM\Column(type'integer'nullabletrue)]
  41.     private $nombre_reparation;
  42.     #[ORM\Column(type'integer'nullabletrue)]
  43.     private $nombre_retour;
  44.     #[ORM\Column(type'integer'nullabletrue)]
  45.     private $nombre_interne;
  46.     #[ORM\Column(type'integer'nullabletrue)]
  47.     private $nombre_porter;
  48.     #[ORM\Column(type'integer'nullabletrue)]
  49.     private $fiche_id;
  50.     #[ORM\Column(type'datetime'nullabletrue)]
  51.     private $date_ecart;
  52.     public function getId(): ?int
  53.     {
  54.         return $this->id;
  55.     }
  56.     public function getReference(): ?string
  57.     {
  58.         return $this->reference;
  59.     }
  60.     public function setReference(?string $reference): self
  61.     {
  62.         $this->reference $reference;
  63.         return $this;
  64.     }
  65.     public function getColoris(): ?string
  66.     {
  67.         return $this->coloris;
  68.     }
  69.     public function setColoris(?string $coloris): self
  70.     {
  71.         $this->coloris $coloris;
  72.         return $this;
  73.     }
  74.     public function getBonnet(): ?Bonnet
  75.     {
  76.         return $this->bonnet;
  77.     }
  78.     public function setBonnet(?Bonnet $bonnet): self
  79.     {
  80.         $this->bonnet $bonnet;
  81.         return $this;
  82.     }
  83.     public function getTaille(): ?Taille
  84.     {
  85.         return $this->taille;
  86.     }
  87.     public function setTaille(?Taille $taille): self
  88.     {
  89.         $this->taille $taille;
  90.         return $this;
  91.     }
  92.     public function getAtelier(): ?Atelier
  93.     {
  94.         return $this->atelier;
  95.     }
  96.     public function setAtelier(?Atelier $atelier): self
  97.     {
  98.         $this->atelier $atelier;
  99.         return $this;
  100.     }
  101.     public function getSemaine(): ?string
  102.     {
  103.         return $this->semaine;
  104.     }
  105.     public function setSemaine(?string $semaine): self
  106.     {
  107.         $this->semaine $semaine;
  108.         return $this;
  109.     }
  110.     public function getDefaut(): ?Defaut
  111.     {
  112.         return $this->defaut;
  113.     }
  114.     public function setDefaut(?Defaut $defaut): self
  115.     {
  116.         $this->defaut $defaut;
  117.         return $this;
  118.     }
  119.     public function getMesure(): ?TableauMesureLibelle
  120.     {
  121.         return $this->mesure;
  122.     }
  123.     public function setMesure(?TableauMesureLibelle $mesure): self
  124.     {
  125.         $this->mesure $mesure;
  126.         return $this;
  127.     }
  128.     public function getDateReception(): ?\DateTimeInterface
  129.     {
  130.         return $this->date_reception;
  131.     }
  132.     public function setDateReception(?\DateTimeInterface $date_reception): self
  133.     {
  134.         $this->date_reception $date_reception;
  135.         return $this;
  136.     }
  137.     public function getNumeroLancement(): ?string
  138.     {
  139.         return $this->numero_lancement;
  140.     }
  141.     public function setNumeroLancement(?string $numero_lancement): self
  142.     {
  143.         $this->numero_lancement $numero_lancement;
  144.         return $this;
  145.     }
  146.     public function getName(): ?string
  147.     {
  148.         return $this->name;
  149.     }
  150.     public function setName(?string $name): self
  151.     {
  152.         $this->name $name;
  153.         return $this;
  154.     }
  155.     public function getStatut(): ?StatutReparation
  156.     {
  157.         return $this->statut;
  158.     }
  159.     public function setStatut(?StatutReparation $statut): self
  160.     {
  161.         $this->statut $statut;
  162.         return $this;
  163.     }
  164.     public function getDateEnvoi(): ?\DateTimeInterface
  165.     {
  166.         return $this->date_envoi;
  167.     }
  168.     public function setDateEnvoi(?\DateTimeInterface $date_envoi): self
  169.     {
  170.         $this->date_envoi $date_envoi;
  171.         return $this;
  172.     }
  173.     public function getDateRetour(): ?\DateTimeInterface
  174.     {
  175.         return $this->date_retour;
  176.     }
  177.     public function setDateRetour(?\DateTimeInterface $date_retour): self
  178.     {
  179.         $this->date_retour $date_retour;
  180.         return $this;
  181.     }
  182.     public function getNombreReparation(): ?int
  183.     {
  184.         return $this->nombre_reparation;
  185.     }
  186.     public function setNombreReparation(?int $nombre_reparation): self
  187.     {
  188.         $this->nombre_reparation $nombre_reparation;
  189.         return $this;
  190.     }
  191.     public function getNombreRetour(): ?int
  192.     {
  193.         return $this->nombre_retour;
  194.     }
  195.     public function setNombreRetour(?int $nombre_retour): self
  196.     {
  197.         $this->nombre_retour $nombre_retour;
  198.         return $this;
  199.     }
  200.     public function getNombreInterne(): ?int
  201.     {
  202.         return $this->nombre_interne;
  203.     }
  204.     public function setNombreInterne(?int $nombre_interne): self
  205.     {
  206.         $this->nombre_interne $nombre_interne;
  207.         return $this;
  208.     }
  209.     public function getNombrePorter(): ?int
  210.     {
  211.         return $this->nombre_porter;
  212.     }
  213.     public function setNombrePorter(?int $nombre_porter): self
  214.     {
  215.         $this->nombre_porter $nombre_porter;
  216.         return $this;
  217.     }
  218.     public function getFicheId(): ?int
  219.     {
  220.         return $this->fiche_id;
  221.     }
  222.     public function setFicheId(?int $fiche_id): self
  223.     {
  224.         $this->fiche_id $fiche_id;
  225.         return $this;
  226.     }
  227.     public function getDateEcart(): ?\DateTimeInterface
  228.     {
  229.         return $this->date_ecart;
  230.     }
  231.     public function setDateEcart(?\DateTimeInterface $date_ecart): self
  232.     {
  233.         $this->date_ecart $date_ecart;
  234.         return $this;
  235.     }
  236. }