src/Entity/Statistiques.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\StatistiquesRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassStatistiquesRepository::class)]
  7. class Statistiques
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(nullabletrue)]
  14.     private ?int $societe null;
  15.     #[ORM\Column(nullabletrue)]
  16.     private ?int $regroupe_stat null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?int $code_affilie null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $code_sous_affilie null;
  21.     #[ORM\Column(nullabletrue)]
  22.     private ?int $code_client_livre null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $code_imputation null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?int $annee_facture null;
  27.     #[ORM\Column(nullabletrue)]
  28.     private ?int $mois_facture null;
  29.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  30.     private ?\DateTimeInterface $date_facture null;
  31.     #[ORM\Column(nullabletrue)]
  32.     private ?int $num_commande null;
  33.     #[ORM\Column(nullabletrue)]
  34.     private ?int $num_bl null;
  35.     #[ORM\Column(length1nullabletrue)]
  36.     private ?string $nature_facture null;
  37.     #[ORM\Column(nullabletrue)]
  38.     private ?int $num_facture null;
  39.     #[ORM\Column(length255nullabletrue)]
  40.     private ?string $ref_code_client null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $code_stat null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $cip_produit null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $ref_produit null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $description_1 null;
  49.     #[ORM\Column(length255nullabletrue)]
  50.     private ?string $description_2 null;
  51.     /*#[ORM\Column(length: 255, nullable: true)]
  52.     private ?string $marque = null;*/
  53.     #[ORM\Column(nullabletrue)]
  54.     private ?int $qte_facturee null;
  55.     #[ORM\Column(nullabletrue)]
  56.     private ?float $prix_unitaire null;
  57.     #[ORM\Column(nullabletrue)]
  58.     private ?float $montant_ligne null;
  59.     #[ORM\ManyToOne(inversedBy'statistiques')]
  60.     private ?Vendeur $vendeur null;
  61.     #[ORM\ManyToOne(inversedBy'statistiques')]
  62.     private ?Marque $marque null;
  63.     public function getId(): ?int
  64.     {
  65.         return $this->id;
  66.     }
  67.     public function getSociete(): ?int
  68.     {
  69.         return $this->societe;
  70.     }
  71.     public function setSociete(?int $societe): self
  72.     {
  73.         $this->societe $societe;
  74.         return $this;
  75.     }
  76.     public function getRegroupeStat(): ?int
  77.     {
  78.         return $this->regroupe_stat;
  79.     }
  80.     public function setRegroupeStat(?int $regroupe_stat): self
  81.     {
  82.         $this->regroupe_stat $regroupe_stat;
  83.         return $this;
  84.     }
  85.     public function getCodeAffilie(): ?int
  86.     {
  87.         return $this->code_affilie;
  88.     }
  89.     public function setCodeAffilie(?int $code_affilie): self
  90.     {
  91.         $this->code_affilie $code_affilie;
  92.         return $this;
  93.     }
  94.     public function getCodeSousAffilie(): ?int
  95.     {
  96.         return $this->code_sous_affilie;
  97.     }
  98.     public function setCodeSousAffilie(?int $code_sous_affilie): self
  99.     {
  100.         $this->code_sous_affilie $code_sous_affilie;
  101.         return $this;
  102.     }
  103.     public function getCodeClientLivre(): ?int
  104.     {
  105.         return $this->code_client_livre;
  106.     }
  107.     public function setCodeClientLivre(?int $code_client_livre): self
  108.     {
  109.         $this->code_client_livre $code_client_livre;
  110.         return $this;
  111.     }
  112.     public function getCodeImputation(): ?string
  113.     {
  114.         return $this->code_imputation;
  115.     }
  116.     public function setCodeImputation(?string $code_imputation): self
  117.     {
  118.         $this->code_imputation $code_imputation;
  119.         return $this;
  120.     }
  121.     public function getAnneeFacture(): ?int
  122.     {
  123.         return $this->annee_facture;
  124.     }
  125.     public function setAnneeFacture(?int $annee_facture): self
  126.     {
  127.         $this->annee_facture $annee_facture;
  128.         return $this;
  129.     }
  130.     public function getMoisFacture(): ?int
  131.     {
  132.         return $this->mois_facture;
  133.     }
  134.     public function setMoisFacture(?int $mois_facture): self
  135.     {
  136.         $this->mois_facture $mois_facture;
  137.         return $this;
  138.     }
  139.     public function getDateFacture(): ?\DateTimeInterface
  140.     {
  141.         return $this->date_facture;
  142.     }
  143.     public function setDateFacture(?\DateTimeInterface $date_facture): self
  144.     {
  145.         $this->date_facture $date_facture;
  146.         return $this;
  147.     }
  148.     public function getNumCommande(): ?int
  149.     {
  150.         return $this->num_commande;
  151.     }
  152.     public function setNumCommande(?int $num_commande): self
  153.     {
  154.         $this->num_commande $num_commande;
  155.         return $this;
  156.     }
  157.     public function getNumBl(): ?int
  158.     {
  159.         return $this->num_bl;
  160.     }
  161.     public function setNumBl(?int $num_bl null): self
  162.     {
  163.         $this->num_bl $num_bl;
  164.         return $this;
  165.     }
  166.     public function getNatureFacture(): ?string
  167.     {
  168.         return $this->nature_facture;
  169.     }
  170.     public function setNatureFacture(?string $nature_facture): self
  171.     {
  172.         $this->nature_facture $nature_facture;
  173.         return $this;
  174.     }
  175.     public function getNumFacture(): ?int
  176.     {
  177.         return $this->num_facture;
  178.     }
  179.     public function setNumFacture(?int $num_facture): self
  180.     {
  181.         $this->num_facture $num_facture;
  182.         return $this;
  183.     }
  184.     public function getRefCodeClient(): ?string
  185.     {
  186.         return $this->ref_code_client;
  187.     }
  188.     public function setRefCodeClient(?string $ref_code_client): self
  189.     {
  190.         $this->ref_code_client $ref_code_client;
  191.         return $this;
  192.     }
  193.     public function getCodeStat(): ?string
  194.     {
  195.         return $this->code_stat;
  196.     }
  197.     public function setCodeStat(?string $code_stat): self
  198.     {
  199.         $this->code_stat $code_stat;
  200.         return $this;
  201.     }
  202.     public function getCipProduit(): ?string
  203.     {
  204.         return $this->cip_produit;
  205.     }
  206.     public function setCipProduit(?string $cip_produit): self
  207.     {
  208.         $this->cip_produit $cip_produit;
  209.         return $this;
  210.     }
  211.     public function getRefProduit(): ?string
  212.     {
  213.         return $this->ref_produit;
  214.     }
  215.     public function setRefProduit(?string $ref_produit): self
  216.     {
  217.         $this->ref_produit $ref_produit;
  218.         return $this;
  219.     }
  220.     public function getDescription1(): ?string
  221.     {
  222.         return $this->description_1;
  223.     }
  224.     public function setDescription1(?string $description_1): self
  225.     {
  226.         $this->description_1 $description_1;
  227.         return $this;
  228.     }
  229.     public function getDescription2(): ?string
  230.     {
  231.         return $this->description_2;
  232.     }
  233.     public function setDescription2(?string $description_2): self
  234.     {
  235.         $this->description_2 $description_2;
  236.         return $this;
  237.     }
  238.     /*public function getMarque(): ?string
  239.     {
  240.         return $this->marque;
  241.     }
  242.     public function setMarque(?string $marque): self
  243.     {
  244.         $this->marque = $marque;
  245.         return $this;
  246.     }*/
  247.     public function getQteFacturee(): ?int
  248.     {
  249.         return $this->qte_facturee;
  250.     }
  251.     public function setQteFacturee(?int $qte_facturee): self
  252.     {
  253.         $this->qte_facturee $qte_facturee;
  254.         return $this;
  255.     }
  256.     public function getPrixUnitaire(): ?float
  257.     {
  258.         return $this->prix_unitaire;
  259.     }
  260.     public function setPrixUnitaire(?float $prix_unitaire null): self
  261.     {
  262.         $this->prix_unitaire $prix_unitaire;
  263.         return $this;
  264.     }
  265.     public function getMontantLigne(): ?float
  266.     {
  267.         return $this->montant_ligne;
  268.     }
  269.     public function setMontantLigne(?float $montant_ligne): self
  270.     {
  271.         $this->montant_ligne $montant_ligne;
  272.         return $this;
  273.     }
  274.     public function getVendeur(): ?vendeur
  275.     {
  276.         return $this->vendeur;
  277.     }
  278.     public function setVendeur(?vendeur $vendeur): self
  279.     {
  280.         $this->vendeur $vendeur;
  281.         return $this;
  282.     }
  283.     public function getMarque(): ?Marque
  284.     {
  285.         return $this->marque;
  286.     }
  287.     public function setMarque(?Marque $marque): self
  288.     {
  289.         $this->marque $marque;
  290.         return $this;
  291.     }
  292. }