src/Entity/Historiqueintervention.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HistoriqueinterventionRepository;
  4. use DateTimeInterface;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\Common\Collections\Collection;
  7. use Doctrine\DBAL\Types\Types;
  8. use Doctrine\ORM\Mapping as ORM;
  9. #[ORM\Entity(repositoryClassHistoriqueinterventionRepository::class)]
  10. class Historiqueintervention
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  17.     private ?DateTimeInterface $fin null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $nbrheur null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $prixheure null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $prix null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $prixtransport null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $netapayer null;
  28.     #[ORM\ManyToMany(targetEntityUser::class, inversedBy'historiqueinterventions')]
  29.     private Collection $technicien;
  30.     #[ORM\ManyToOne(inversedBy'historiqueinterventions')]
  31.     private ?Client $client null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $reff null;
  34.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  35.     private ?string $commentaire null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $type null;
  38.     #[ORM\ManyToMany(targetEntityMessageerreur::class, inversedBy'historiqueinterventions')]
  39.     private Collection $messageerreur;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $numseriemachine null;
  42.     #[ORM\ManyToOne(inversedBy'historiqueinterventions')]
  43.     private ?Devis $devis null;
  44.     #[ORM\ManyToOne(inversedBy'historiqueinterventions')]
  45.     private ?Machine $typemachine null;
  46.     #[ORM\Column(length255nullabletrue)]
  47.     private ?string $montantht null;
  48.     #[ORM\Column(length255nullabletrue)]
  49.     private ?string $qte null;
  50.     #[ORM\Column(length255nullabletrue)]
  51.     private ?string $tvaautre null;
  52.     #[ORM\Column(length255nullabletrue)]
  53.     private ?string $tva null;
  54.     #[ORM\Column(length255nullabletrue)]
  55.     private ?string $totalttc null;
  56.     #[ORM\Column(length255nullabletrue)]
  57.     private ?string $timbre null;
  58.     #[ORM\ManyToOne(inversedBy'historiqueinterventions')]
  59.     private ?Gestionmachines $nummachine null;
  60.     #[ORM\ManyToOne(targetEntityUser::class, inversedBy'historiqueinterventions')]
  61.     #[ORM\JoinColumn(nullablefalseonDelete'CASCADE')]
  62.     private ?User $user null;
  63.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  64.     private ?DateTimeInterface $datecreation null;
  65.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  66.     private ?DateTimeInterface $debut null;
  67.     #[ORM\Column(length255nullabletrue)]
  68.     private ?string $idoldintervention null;
  69.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  70.     private ?string $designation null;
  71.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  72.     private ?DateTimeInterface $dateinter null;
  73.     #[ORM\Column(length255nullabletrue)]
  74.     private ?string $jours null;
  75.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  76.     private ?DateTimeInterface $debutrepos null;
  77.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  78.     private ?DateTimeInterface $finrepos null;
  79.     #[ORM\Column(length255nullabletrue)]
  80.     private ?string $nbhrrepos null;
  81.     #[ORM\Column(length255nullabletrue)]
  82.     private ?string $prixjours null;
  83.     #[ORM\Column(length255nullabletrue)]
  84.     private ?string $totheure null;
  85.     #[ORM\Column(length255nullabletrue)]
  86.     private ?string $montantjours null;
  87.     #[ORM\Column(length255nullabletrue)]
  88.     private ?string $statut null;
  89.     #[ORM\Column(length255nullabletrue)]
  90.     private ?string $typesmachines null;
  91.     #[ORM\Column(nullabletrue)]
  92.     private ?array $solutionIds null;
  93.     public function __construct()
  94.     {
  95.         $this->technicien = new ArrayCollection();
  96.         $this->messageerreur = new ArrayCollection();
  97.     }
  98.     public function getId(): ?int
  99.     {
  100.         return $this->id;
  101.     }
  102.     public function getFin(): ?DateTimeInterface
  103.     {
  104.         return $this->fin;
  105.     }
  106.     public function setFin(?DateTimeInterface $fin): static
  107.     {
  108.         $this->fin $fin;
  109.         return $this;
  110.     }
  111.     public function getNbrheur(): ?string
  112.     {
  113.         return $this->nbrheur;
  114.     }
  115.     public function setNbrheur(?string $nbrheur): static
  116.     {
  117.         $this->nbrheur $nbrheur;
  118.         return $this;
  119.     }
  120.     public function getPrixheure(): ?string
  121.     {
  122.         return $this->prixheure;
  123.     }
  124.     public function setPrixheure(?string $prixheure): static
  125.     {
  126.         $this->prixheure $prixheure;
  127.         return $this;
  128.     }
  129.     public function getPrix(): ?string
  130.     {
  131.         return $this->prix;
  132.     }
  133.     public function setPrix(?string $prix): static
  134.     {
  135.         $this->prix $prix;
  136.         return $this;
  137.     }
  138.     public function getPrixtransport(): ?string
  139.     {
  140.         return $this->prixtransport;
  141.     }
  142.     public function setPrixtransport(?string $prixtransport): static
  143.     {
  144.         $this->prixtransport $prixtransport;
  145.         return $this;
  146.     }
  147.     public function getNetapayer(): ?string
  148.     {
  149.         return $this->netapayer;
  150.     }
  151.     public function setNetapayer(?string $netapayer): static
  152.     {
  153.         $this->netapayer $netapayer;
  154.         return $this;
  155.     }
  156.     /**
  157.      * @return Collection<int, User>
  158.      */
  159.     public function getTechnicien(): Collection
  160.     {
  161.         return $this->technicien;
  162.     }
  163.     public function addTechnicien(User $technicien): static
  164.     {
  165.         if (!$this->technicien->contains($technicien)) {
  166.             $this->technicien->add($technicien);
  167.         }
  168.         return $this;
  169.     }
  170.     public function removeTechnicien(User $technicien): static
  171.     {
  172.         $this->technicien->removeElement($technicien);
  173.         return $this;
  174.     }
  175.     public function getClient(): ?Client
  176.     {
  177.         return $this->client;
  178.     }
  179.     public function setClient(?Client $client): static
  180.     {
  181.         $this->client $client;
  182.         return $this;
  183.     }
  184.     public function getReff(): ?string
  185.     {
  186.         return $this->reff;
  187.     }
  188.     public function setReff(?string $reff): static
  189.     {
  190.         $this->reff $reff;
  191.         return $this;
  192.     }
  193.     public function getCommentaire(): ?string
  194.     {
  195.         return $this->commentaire;
  196.     }
  197.     public function setCommentaire(?string $commentaire): static
  198.     {
  199.         $this->commentaire $commentaire;
  200.         return $this;
  201.     }
  202.     public function getType(): ?string
  203.     {
  204.         return $this->type;
  205.     }
  206.     public function setType(?string $type): static
  207.     {
  208.         $this->type $type;
  209.         return $this;
  210.     }
  211.     /**
  212.      * @return Collection<int, Messageerreur>
  213.      */
  214.     public function getMessageerreur(): Collection
  215.     {
  216.         return $this->messageerreur;
  217.     }
  218.     public function addMessageerreur(Messageerreur $messageerreur): static
  219.     {
  220.         if (!$this->messageerreur->contains($messageerreur)) {
  221.             $this->messageerreur->add($messageerreur);
  222.         }
  223.         return $this;
  224.     }
  225.     public function removeMessageerreur(Messageerreur $messageerreur): static
  226.     {
  227.         $this->messageerreur->removeElement($messageerreur);
  228.         return $this;
  229.     }
  230.     public function getNumseriemachine(): ?string
  231.     {
  232.         return $this->numseriemachine;
  233.     }
  234.     public function setNumseriemachine(?string $numseriemachine): static
  235.     {
  236.         $this->numseriemachine $numseriemachine;
  237.         return $this;
  238.     }
  239.     public function getDevis(): ?Devis
  240.     {
  241.         return $this->devis;
  242.     }
  243.     public function setDevis(?Devis $devis): static
  244.     {
  245.         $this->devis $devis;
  246.         return $this;
  247.     }
  248.     public function getTypemachine(): ?Machine
  249.     {
  250.         return $this->typemachine;
  251.     }
  252.     public function setTypemachine(?Machine $typemachine): static
  253.     {
  254.         $this->typemachine $typemachine;
  255.         return $this;
  256.     }
  257.     public function getMontantht(): ?string
  258.     {
  259.         return $this->montantht;
  260.     }
  261.     public function setMontantht(?string $montantht): static
  262.     {
  263.         $this->montantht $montantht;
  264.         return $this;
  265.     }
  266.     public function getQte(): ?string
  267.     {
  268.         return $this->qte;
  269.     }
  270.     public function setQte(?string $qte): static
  271.     {
  272.         $this->qte $qte;
  273.         return $this;
  274.     }
  275.     public function getTvaautre(): ?string
  276.     {
  277.         return $this->tvaautre;
  278.     }
  279.     public function setTvaautre(?string $tvaautre): static
  280.     {
  281.         $this->tvaautre $tvaautre;
  282.         return $this;
  283.     }
  284.     public function getTva(): ?string
  285.     {
  286.         return $this->tva;
  287.     }
  288.     public function setTva(?string $tva): static
  289.     {
  290.         $this->tva $tva;
  291.         return $this;
  292.     }
  293.     public function getTotalttc(): ?string
  294.     {
  295.         return $this->totalttc;
  296.     }
  297.     public function setTotalttc(?string $totalttc): static
  298.     {
  299.         $this->totalttc $totalttc;
  300.         return $this;
  301.     }
  302.     public function getTimbre(): ?string
  303.     {
  304.         return $this->timbre;
  305.     }
  306.     public function setTimbre(?string $timbre): static
  307.     {
  308.         $this->timbre $timbre;
  309.         return $this;
  310.     }
  311.     public function getNummachine(): ?Gestionmachines
  312.     {
  313.         return $this->nummachine;
  314.     }
  315.     public function setNummachine(?Gestionmachines $nummachine): static
  316.     {
  317.         $this->nummachine $nummachine;
  318.         return $this;
  319.     }
  320.     public function getUser(): ?User
  321.     {
  322.         return $this->user;
  323.     }
  324.     public function setUser(?User $user): void
  325.     {
  326.         $this->user $user;
  327.     }
  328.     public function getDatecreation(): ?DateTimeInterface
  329.     {
  330.         return $this->datecreation;
  331.     }
  332.     public function setDatecreation(?DateTimeInterface $datecreation): static
  333.     {
  334.         $this->datecreation $datecreation;
  335.         return $this;
  336.     }
  337.     public function getDebut(): ?DateTimeInterface
  338.     {
  339.         return $this->debut;
  340.     }
  341.     public function setDebut(?DateTimeInterface $debut): static
  342.     {
  343.         $this->debut $debut;
  344.         return $this;
  345.     }
  346.     public function getIdoldintervention(): ?string
  347.     {
  348.         return $this->idoldintervention;
  349.     }
  350.     public function setIdoldintervention(?string $idoldintervention): static
  351.     {
  352.         $this->idoldintervention $idoldintervention;
  353.         return $this;
  354.     }
  355.     public function getDesignation(): ?string
  356.     {
  357.         return $this->designation;
  358.     }
  359.     public function setDesignation(?string $designation): static
  360.     {
  361.         $this->designation $designation;
  362.         return $this;
  363.     }
  364.     public function getDateinter(): ?DateTimeInterface
  365.     {
  366.         return $this->dateinter;
  367.     }
  368.     public function setDateinter(?DateTimeInterface $dateinter): static
  369.     {
  370.         $this->dateinter $dateinter;
  371.         return $this;
  372.     }
  373.     public function getJours(): ?string
  374.     {
  375.         return $this->jours;
  376.     }
  377.     public function setJours(?string $jours): static
  378.     {
  379.         $this->jours $jours;
  380.         return $this;
  381.     }
  382.     public function getDebutrepos(): ?DateTimeInterface
  383.     {
  384.         return $this->debutrepos;
  385.     }
  386.     public function setDebutrepos(?DateTimeInterface $debutrepos): static
  387.     {
  388.         $this->debutrepos $debutrepos;
  389.         return $this;
  390.     }
  391.     public function getFinrepos(): ?DateTimeInterface
  392.     {
  393.         return $this->finrepos;
  394.     }
  395.     public function setFinrepos(?DateTimeInterface $finrepos): static
  396.     {
  397.         $this->finrepos $finrepos;
  398.         return $this;
  399.     }
  400.     public function getNbhrrepos(): ?string
  401.     {
  402.         return $this->nbhrrepos;
  403.     }
  404.     public function setNbhrrepos(?string $nbhrrepos): static
  405.     {
  406.         $this->nbhrrepos $nbhrrepos;
  407.         return $this;
  408.     }
  409.     public function getPrixjours(): ?string
  410.     {
  411.         return $this->prixjours;
  412.     }
  413.     public function setPrixjours(?string $prixjours): static
  414.     {
  415.         $this->prixjours $prixjours;
  416.         return $this;
  417.     }
  418.     public function getTotheure(): ?string
  419.     {
  420.         return $this->totheure;
  421.     }
  422.     public function setTotheure(?string $totheure): static
  423.     {
  424.         $this->totheure $totheure;
  425.         return $this;
  426.     }
  427.     public function getMontantjours(): ?string
  428.     {
  429.         return $this->montantjours;
  430.     }
  431.     public function setMontantjours(?string $montantjours): static
  432.     {
  433.         $this->montantjours $montantjours;
  434.         return $this;
  435.     }
  436.     public function getStatut(): ?string
  437.     {
  438.         return $this->statut;
  439.     }
  440.     public function setStatut(?string $statut): static
  441.     {
  442.         $this->statut $statut;
  443.         return $this;
  444.     }
  445.     public function getTypesmachines(): ?string
  446.     {
  447.         return $this->typesmachines;
  448.     }
  449.     public function setTypesmachines(?string $typesmachines): static
  450.     {
  451.         $this->typesmachines $typesmachines;
  452.         return $this;
  453.     }
  454.     public function getSolutionIds(): ?array
  455.     {
  456.         return $this->solutionIds;
  457.     }
  458.     public function setSolutionIds(?array $solutionIds): static
  459.     {
  460.         $this->solutionIds $solutionIds;
  461.         return $this;
  462.     }
  463. }