src/Entity/Historiquedemandedevis.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HistoriquedemandedevisRepository;
  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(repositoryClassHistoriquedemandedevisRepository::class)]
  10. class Historiquedemandedevis
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $vendeur null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $adresse null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $telphvendeur1 null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $telphvendeur2 null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $num null;
  26.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  27.     private ?DateTimeInterface $date null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $reference null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $code null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $base null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $taux null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $montant null;
  38.     #[ORM\Column(length255nullabletrue)]
  39.     private ?string $total null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $totalht null;
  42.     #[ORM\Column(length255nullabletrue)]
  43.     private ?string $qttotal null;
  44.     #[ORM\Column(length255nullabletrue)]
  45.     private ?string $totalttc null;
  46.     #[ORM\Column(length255nullabletrue)]
  47.     private ?string $statut null;
  48.     #[ORM\ManyToOne(inversedBy'historiquedemandedevis')]
  49.     private ?Client $client null;
  50.     #[ORM\Column(length255nullabletrue)]
  51.     private ?string $timbre null;
  52.     #[ORM\Column(length255nullabletrue)]
  53.     private ?string $idfacture null;
  54.     #[ORM\Column(length255nullabletrue)]
  55.     private ?string $oldtype null;
  56.     #[ORM\Column(length255nullabletrue)]
  57.     private ?string $retour null;
  58.     #[ORM\Column(length255nullabletrue)]
  59.     private ?string $frtour null;
  60.     #[ORM\Column(length255nullabletrue)]
  61.     private ?string $fav null;
  62.     #[ORM\ManyToOne(inversedBy'historiquedemandedevis')]
  63.     private ?User $user null;
  64.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  65.     private ?DateTimeInterface $datecreation null;
  66.     #[ORM\Column(length255nullabletrue)]
  67.     private ?string $demandedevisold null;
  68.     #[ORM\OneToMany(mappedBy'historiquedemandedevis'targetEntityHistoriqueproduit::class, cascade: ["remove"])]
  69.     private Collection $historiqueproduits;
  70.     #[ORM\Column(length255nullabletrue)]
  71.     private ?string $typearchive null;
  72.     #[ORM\Column(length255nullabletrue)]
  73.     private ?string $iddevisold null;
  74.     #[ORM\Column(length255nullabletrue)]
  75.     private ?string $modedepaiement null;
  76.     public function __construct()
  77.     {
  78.         $this->historiqueproduits = new ArrayCollection();
  79.     }
  80.     public function getId(): ?int
  81.     {
  82.         return $this->id;
  83.     }
  84.     public function getVendeur(): ?string
  85.     {
  86.         return $this->vendeur;
  87.     }
  88.     public function setVendeur(?string $vendeur): static
  89.     {
  90.         $this->vendeur $vendeur;
  91.         return $this;
  92.     }
  93.     public function getAdresse(): ?string
  94.     {
  95.         return $this->adresse;
  96.     }
  97.     public function setAdresse(?string $adresse): static
  98.     {
  99.         $this->adresse $adresse;
  100.         return $this;
  101.     }
  102.     public function getTelphvendeur1(): ?string
  103.     {
  104.         return $this->telphvendeur1;
  105.     }
  106.     public function setTelphvendeur1(?string $telphvendeur1): static
  107.     {
  108.         $this->telphvendeur1 $telphvendeur1;
  109.         return $this;
  110.     }
  111.     public function getTelphvendeur2(): ?string
  112.     {
  113.         return $this->telphvendeur2;
  114.     }
  115.     public function setTelphvendeur2(?string $telphvendeur2): static
  116.     {
  117.         $this->telphvendeur2 $telphvendeur2;
  118.         return $this;
  119.     }
  120.     public function getNum(): ?string
  121.     {
  122.         return $this->num;
  123.     }
  124.     public function setNum(?string $num): static
  125.     {
  126.         $this->num $num;
  127.         return $this;
  128.     }
  129.     public function getDate(): ?DateTimeInterface
  130.     {
  131.         return $this->date;
  132.     }
  133.     public function setDate(?DateTimeInterface $date): static
  134.     {
  135.         $this->date $date;
  136.         return $this;
  137.     }
  138.     public function getReference(): ?string
  139.     {
  140.         return $this->reference;
  141.     }
  142.     public function setReference(?string $reference): static
  143.     {
  144.         $this->reference $reference;
  145.         return $this;
  146.     }
  147.     public function getCode(): ?string
  148.     {
  149.         return $this->code;
  150.     }
  151.     public function setCode(?string $code): static
  152.     {
  153.         $this->code $code;
  154.         return $this;
  155.     }
  156.     public function getBase(): ?string
  157.     {
  158.         return $this->base;
  159.     }
  160.     public function setBase(?string $base): static
  161.     {
  162.         $this->base $base;
  163.         return $this;
  164.     }
  165.     public function getTaux(): ?string
  166.     {
  167.         return $this->taux;
  168.     }
  169.     public function setTaux(?string $taux): static
  170.     {
  171.         $this->taux $taux;
  172.         return $this;
  173.     }
  174.     public function getMontant(): ?string
  175.     {
  176.         return $this->montant;
  177.     }
  178.     public function setMontant(?string $montant): static
  179.     {
  180.         $this->montant $montant;
  181.         return $this;
  182.     }
  183.     public function getTotal(): ?string
  184.     {
  185.         return $this->total;
  186.     }
  187.     public function setTotal(?string $total): static
  188.     {
  189.         $this->total $total;
  190.         return $this;
  191.     }
  192.     public function getTotalht(): ?string
  193.     {
  194.         return $this->totalht;
  195.     }
  196.     public function setTotalht(?string $totalht): static
  197.     {
  198.         $this->totalht $totalht;
  199.         return $this;
  200.     }
  201.     public function getQttotal(): ?string
  202.     {
  203.         return $this->qttotal;
  204.     }
  205.     public function setQttotal(?string $qttotal): static
  206.     {
  207.         $this->qttotal $qttotal;
  208.         return $this;
  209.     }
  210.     public function getTotalttc(): ?string
  211.     {
  212.         return $this->totalttc;
  213.     }
  214.     public function setTotalttc(?string $totalttc): static
  215.     {
  216.         $this->totalttc $totalttc;
  217.         return $this;
  218.     }
  219.     public function getStatut(): ?string
  220.     {
  221.         return $this->statut;
  222.     }
  223.     public function setStatut(?string $statut): static
  224.     {
  225.         $this->statut $statut;
  226.         return $this;
  227.     }
  228.     public function getClient(): ?Client
  229.     {
  230.         return $this->client;
  231.     }
  232.     public function setClient(?Client $client): static
  233.     {
  234.         $this->client $client;
  235.         return $this;
  236.     }
  237.     public function getTimbre(): ?string
  238.     {
  239.         return $this->timbre;
  240.     }
  241.     public function setTimbre(?string $timbre): static
  242.     {
  243.         $this->timbre $timbre;
  244.         return $this;
  245.     }
  246.     public function getIdfacture(): ?string
  247.     {
  248.         return $this->idfacture;
  249.     }
  250.     public function setIdfacture(?string $idfacture): static
  251.     {
  252.         $this->idfacture $idfacture;
  253.         return $this;
  254.     }
  255.     public function getOldtype(): ?string
  256.     {
  257.         return $this->oldtype;
  258.     }
  259.     public function setOldtype(?string $oldtype): static
  260.     {
  261.         $this->oldtype $oldtype;
  262.         return $this;
  263.     }
  264.     public function getRetour(): ?string
  265.     {
  266.         return $this->retour;
  267.     }
  268.     public function setRetour(?string $retour): static
  269.     {
  270.         $this->retour $retour;
  271.         return $this;
  272.     }
  273.     public function getFrtour(): ?string
  274.     {
  275.         return $this->frtour;
  276.     }
  277.     public function setFrtour(?string $frtour): static
  278.     {
  279.         $this->frtour $frtour;
  280.         return $this;
  281.     }
  282.     public function getFav(): ?string
  283.     {
  284.         return $this->fav;
  285.     }
  286.     public function setFav(?string $fav): static
  287.     {
  288.         $this->fav $fav;
  289.         return $this;
  290.     }
  291.     public function getUser(): ?User
  292.     {
  293.         return $this->user;
  294.     }
  295.     public function setUser(?User $user): static
  296.     {
  297.         $this->user $user;
  298.         return $this;
  299.     }
  300.     public function getDatecreation(): ?DateTimeInterface
  301.     {
  302.         return $this->datecreation;
  303.     }
  304.     public function setDatecreation(?DateTimeInterface $datecreation): static
  305.     {
  306.         $this->datecreation $datecreation;
  307.         return $this;
  308.     }
  309.     public function getDemandedevisold(): ?string
  310.     {
  311.         return $this->demandedevisold;
  312.     }
  313.     public function setDemandedevisold(?string $demandedevisold): static
  314.     {
  315.         $this->demandedevisold $demandedevisold;
  316.         return $this;
  317.     }
  318.     /**
  319.      * @return Collection<int, Historiqueproduit>
  320.      */
  321.     public function getHistoriqueproduits(): Collection
  322.     {
  323.         return $this->historiqueproduits;
  324.     }
  325.     public function addHistoriqueproduit(Historiqueproduit $historiqueproduit): static
  326.     {
  327.         if (!$this->historiqueproduits->contains($historiqueproduit)) {
  328.             $this->historiqueproduits->add($historiqueproduit);
  329.             $historiqueproduit->setHistoriquedemandedevis($this);
  330.         }
  331.         return $this;
  332.     }
  333.     public function removeHistoriqueproduit(Historiqueproduit $historiqueproduit): static
  334.     {
  335.         if ($this->historiqueproduits->removeElement($historiqueproduit)) {
  336.             // set the owning side to null (unless already changed)
  337.             if ($historiqueproduit->getHistoriquedemandedevis() === $this) {
  338.                 $historiqueproduit->setHistoriquedemandedevis(null);
  339.             }
  340.         }
  341.         return $this;
  342.     }
  343.     public function getTypearchive(): ?string
  344.     {
  345.         return $this->typearchive;
  346.     }
  347.     public function setTypearchive(?string $typearchive): static
  348.     {
  349.         $this->typearchive $typearchive;
  350.         return $this;
  351.     }
  352.     public function getIddevisold(): ?string
  353.     {
  354.         return $this->iddevisold;
  355.     }
  356.     public function setIddevisold(?string $iddevisold): static
  357.     {
  358.         $this->iddevisold $iddevisold;
  359.         return $this;
  360.     }
  361.     public function getModedepaiement(): ?string
  362.     {
  363.         return $this->modedepaiement;
  364.     }
  365.     public function setModedepaiement(?string $modedepaiement): static
  366.     {
  367.         $this->modedepaiement $modedepaiement;
  368.         return $this;
  369.     }
  370. }