src/Entity/Commande400.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\Commande400Repository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassCommande400Repository::class)]
  7. class Commande400
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $societe null;
  15.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $date_commande null;
  17.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $date_expedition null;
  19.     // #[ORM\Column(length: 255)]
  20.     // private ?string $date_commande = null;
  21.     // #[ORM\Column(length: 255)]
  22.     // private ?string $date_expedition = null;
  23.     #[ORM\Column(length255)]
  24.     private ?string $num_commande_web null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $num_commande_400 null;
  27.     #[ORM\Column(length255)]
  28.     private ?string $reference_commande null;
  29.     #[ORM\Column(length255)]
  30.     private ?string $numero_bl null;
  31.     #[ORM\Column(length255)]
  32.     private ?string $numero_facture null;
  33.     #[ORM\Column]
  34.     private ?int $numero_ligne_commande null;
  35.     #[ORM\Column]
  36.     private ?int $article_code null;
  37.     #[ORM\Column(length255)]
  38.     private ?string $article_reference null;
  39.     #[ORM\Column(length255)]
  40.     private ?string $description_1 null;
  41.     #[ORM\Column(length255)]
  42.     private ?string $description_2 null;
  43.     #[ORM\Column]
  44.     private ?int $quantite_commandee null;
  45.     #[ORM\Column]
  46.     private ?int $quantite_emise null;
  47.     #[ORM\Column]
  48.     private ?int $quantite_livree null;
  49.     #[ORM\Column(length255)]
  50.     private ?string $devise null;
  51.     #[ORM\Column]
  52.     private ?float $prix_unitaire null;
  53.     #[ORM\Column(length255)]
  54.     private ?string $unite_vente null;
  55.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  56.     private ?\DateTimeInterface $delai_livraison null;
  57.     // #[ORM\Column(length: 255)]
  58.     // private ?string $delai_livraison = null;
  59.     #[ORM\Column(length255)]
  60.     private ?string $transporteur null;
  61.     #[ORM\Column(length255)]
  62.     private ?string $statut null;
  63.     #[ORM\Column(length255)]
  64.     private ?string $ligne_soldee null;
  65.     #[ORM\Column(length255)]
  66.     private ?string $ligne_livree null;
  67.     #[ORM\ManyToOne(inversedBy'commande400s')]
  68.     private ?Produit $produit null;
  69.     #[ORM\ManyToOne(inversedBy'commande400a')]
  70.     private ?Filieres $filiere null;
  71.     #[ORM\Column(nullabletrue)]
  72.     private ?int $code_regroupement null;
  73.     #[ORM\Column(nullabletrue)]
  74.     private ?int $code_client_livre null;
  75.     public function getId(): ?int
  76.     {
  77.         return $this->id;
  78.     }
  79.     public function getSociete(): ?string
  80.     {
  81.         return $this->societe;
  82.     }
  83.     public function setSociete(string $societe): self
  84.     {
  85.         $this->societe $societe;
  86.         return $this;
  87.     }
  88.     public function getDateCommande(): ?\DateTimeInterface
  89.     {
  90.         return $this->date_commande;
  91.     }
  92.     public function setDateCommande(\DateTimeInterface $date_commande null): self
  93.     {
  94.         $this->date_commande $date_commande;
  95.         return $this;
  96.     }
  97.     public function getDateExpedition(): ?\DateTimeInterface
  98.     {
  99.         return $this->date_expedition;
  100.     }
  101.     public function setDateExpedition(\DateTimeInterface $date_expedition null): self
  102.     {
  103.         $this->date_expedition $date_expedition;
  104.         return $this;
  105.     }
  106.     // public function getDateCommande(): ?string
  107.     // {
  108.     //     return $this->date_commande;
  109.     // }
  110.     // public function setDateCommande(string $date_commande): self
  111.     // {
  112.     //     $this->date_commande = $date_commande;
  113.     //     return $this;
  114.     // }
  115.     // public function getDateExpedition(): ?string
  116.     // {
  117.     //     return $this->date_expedition;
  118.     // }
  119.     // public function setDateExpedition(string $date_expedition): self
  120.     // {
  121.     //     $this->date_expedition = $date_expedition;
  122.     //     return $this;
  123.     // }
  124.     public function getNumCommandeWeb(): ?string
  125.     {
  126.         return $this->num_commande_web;
  127.     }
  128.     public function setNumCommandeWeb(string $num_commande_web): self
  129.     {
  130.         $this->num_commande_web $num_commande_web;
  131.         return $this;
  132.     }
  133.     public function getNumCommande400(): ?string
  134.     {
  135.         return $this->num_commande_400;
  136.     }
  137.     public function setNumCommande400(string $num_commande_400): self
  138.     {
  139.         $this->num_commande_400 $num_commande_400;
  140.         return $this;
  141.     }
  142.     public function getReferenceCommande(): ?string
  143.     {
  144.         return $this->reference_commande;
  145.     }
  146.     public function setReferenceCommande(string $reference_commande): self
  147.     {
  148.         $this->reference_commande $reference_commande;
  149.         return $this;
  150.     }
  151.     public function getNumeroBl(): ?string
  152.     {
  153.         return $this->numero_bl;
  154.     }
  155.     public function setNumeroBl(string $numero_bl): self
  156.     {
  157.         $this->numero_bl $numero_bl;
  158.         return $this;
  159.     }
  160.     public function getNumeroFacture(): ?string
  161.     {
  162.         return $this->numero_facture;
  163.     }
  164.     public function setNumeroFacture(string $numero_facture): self
  165.     {
  166.         $this->numero_facture $numero_facture;
  167.         return $this;
  168.     }
  169.     public function getNumeroCommande400(): ?int
  170.     {
  171.         return $this->numero_ligne_commande;
  172.     }
  173.     public function setNumeroCommande400(int $numero_ligne_commande): self
  174.     {
  175.         $this->numero_ligne_commande $numero_ligne_commande;
  176.         return $this;
  177.     }
  178.     public function getArticleCode(): ?int
  179.     {
  180.         return $this->article_code;
  181.     }
  182.     public function setArticleCode(int $article_code): self
  183.     {
  184.         $this->article_code $article_code;
  185.         return $this;
  186.     }
  187.     public function getArticleReference(): ?string
  188.     {
  189.         return $this->article_reference;
  190.     }
  191.     public function setArticleReference(string $article_reference): self
  192.     {
  193.         $this->article_reference $article_reference;
  194.         return $this;
  195.     }
  196.     public function getDescription1(): ?string
  197.     {
  198.         return $this->description_1;
  199.     }
  200.     public function setDescription1(string $description_1): self
  201.     {
  202.         $this->description_1 $description_1;
  203.         return $this;
  204.     }
  205.     public function getDescription2(): ?string
  206.     {
  207.         return $this->description_2;
  208.     }
  209.     public function setDescription2(string $description_2): self
  210.     {
  211.         $this->description_2 $description_2;
  212.         return $this;
  213.     }
  214.     public function getQuantiteCommandee(): ?int
  215.     {
  216.         return $this->quantite_commandee;
  217.     }
  218.     public function setQuantiteCommandee(int $quantite_commandee): self
  219.     {
  220.         $this->quantite_commandee $quantite_commandee;
  221.         return $this;
  222.     }
  223.     public function getQuantiteEmise(): ?int
  224.     {
  225.         return $this->quantite_emise;
  226.     }
  227.     public function setQuantiteEmise(int $quantite_emise): self
  228.     {
  229.         $this->quantite_emise $quantite_emise;
  230.         return $this;
  231.     }
  232.     public function getQuantiteLivree(): ?int
  233.     {
  234.         return $this->quantite_livree;
  235.     }
  236.     public function setQuantiteLivree(int $quantite_livree): self
  237.     {
  238.         $this->quantite_livree $quantite_livree;
  239.         return $this;
  240.     }
  241.     public function getDevise(): ?string
  242.     {
  243.         return $this->devise;
  244.     }
  245.     public function setDevise(string $devise): self
  246.     {
  247.         $this->devise $devise;
  248.         return $this;
  249.     }
  250.     public function getPrixUnitaire(): ?float
  251.     {
  252.         return $this->prix_unitaire;
  253.     }
  254.     public function setPrixUnitaire(float $prix_unitaire): self
  255.     {
  256.         $this->prix_unitaire $prix_unitaire;
  257.         return $this;
  258.     }
  259.     public function getUniteVente(): ?string
  260.     {
  261.         return $this->unite_vente;
  262.     }
  263.     public function setUniteVente(string $unite_vente): self
  264.     {
  265.         $this->unite_vente $unite_vente;
  266.         return $this;
  267.     }
  268.     // public function getDelaiLivraison(): ?string
  269.     // {
  270.     //     return $this->delai_livraison;
  271.     // }
  272.     // public function setDelaiLivraison(string $delai_livraison): self
  273.     // {
  274.     //     $this->delai_livraison = $delai_livraison;
  275.     //     return $this;
  276.     // }
  277.     public function getDelaiLivraison(): ?\DateTimeInterface
  278.     {
  279.         return $this->delai_livraison;
  280.     }
  281.     public function setDelaiLivraison(\DateTimeInterface $delai_livraison null): self
  282.     {
  283.         $this->delai_livraison $delai_livraison;
  284.         return $this;
  285.     }
  286.     public function getTransporteur(): ?string
  287.     {
  288.         return $this->transporteur;
  289.     }
  290.     public function setTransporteur(string $transporteur): self
  291.     {
  292.         $this->transporteur $transporteur;
  293.         return $this;
  294.     }
  295.     public function getStatut(): ?string
  296.     {
  297.         return $this->statut;
  298.     }
  299.     public function setStatut(string $statut): self
  300.     {
  301.         $this->statut $statut;
  302.         return $this;
  303.     }
  304.     public function getLigneSoldee(): ?string
  305.     {
  306.         return $this->ligne_soldee;
  307.     }
  308.     public function setLigneSoldee(string $ligne_soldee): self
  309.     {
  310.         $this->ligne_soldee $ligne_soldee;
  311.         return $this;
  312.     }
  313.     public function getLigneLivree(): ?string
  314.     {
  315.         return $this->ligne_livree;
  316.     }
  317.     public function setLigneLivree(string $ligne_livree): self
  318.     {
  319.         $this->ligne_livree $ligne_livree;
  320.         return $this;
  321.     }
  322.     public function getProduit(): ?Produit
  323.     {
  324.         return $this->produit;
  325.     }
  326.     public function setProduit(?Produit $produit): self
  327.     {
  328.         $this->produit $produit;
  329.         return $this;
  330.     }
  331.     public function getFiliere(): ?Filieres
  332.     {
  333.         return $this->filiere;
  334.     }
  335.     public function setFiliere(?Filieres $filiere): self
  336.     {
  337.         $this->filiere $filiere;
  338.         return $this;
  339.     }
  340.     public function getCodeRegroupement(): ?int
  341.     {
  342.         return $this->code_regroupement;
  343.     }
  344.     public function setCodeRegroupement(?int $code_regroupement): self
  345.     {
  346.         $this->code_regroupement $code_regroupement;
  347.         return $this;
  348.     }
  349.     public function getCodeClientLivre(): ?int
  350.     {
  351.         return $this->code_client_livre;
  352.     }
  353.     public function setCodeClientLivre(?int $code_client_livre): self
  354.     {
  355.         $this->code_client_livre $code_client_livre;
  356.         return $this;
  357.     }
  358. }