src/Entity/BtlfStatistiques.php line 15

Open in your IDE?
  1. <?php
  2. /**
  3.  * BtlfStatistiques.php
  4.  * Created by Stéphane Brun
  5.  */
  6. namespace App\Entity;
  7. use Doctrine\ORM\Mapping as ORM;
  8. /**
  9.  * @ORM\Entity
  10.  * @ORM\Table(name="btlf_statistiques")
  11.  */
  12. class BtlfStatistiques
  13. {
  14.     /**
  15.      * @ORM\Column(type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     protected $id;
  20.     /**
  21.      * @ORM\Column(type="date")
  22.      */
  23.     protected $date;
  24.     /**
  25.      * @ORM\Column(type="integer", nullable=true)
  26.      */
  27.     protected $venteDetail 0;
  28.     /**
  29.      * @ORM\Column(type="float", nullable=true)
  30.      */
  31.     protected $montantDetail 0;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     protected $venteCollectivite 0;
  36.     /**
  37.      * @ORM\Column(type="float", nullable=true)
  38.      */
  39.     protected $montantCollectivite 0;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     protected $stock 0;
  44.     /**
  45.      * @ORM\Column(type="integer", nullable=true)
  46.      */
  47.     protected $retour 0;
  48.     /**
  49.      * @ORM\Column(type="integer", nullable=true)
  50.      */
  51.     protected $commande 0;
  52.     /**
  53.      * has one Titre
  54.      *
  55.      * @ORM\ManyToOne(targetEntity="App\Entity\Titre")
  56.      * @ORM\JoinColumn(name="titre_id", referencedColumnName="TISBN")
  57.      */
  58.     protected $produit;
  59.     /**
  60.      * has one Company
  61.      *
  62.      * @ORM\ManyToOne(targetEntity="App\Entity\Company")
  63.      * @ORM\JoinColumn(name="company_id", referencedColumnName="id")
  64.      */
  65.     protected $company;
  66.     /**
  67.      * has one Company
  68.      *
  69.      * @ORM\ManyToOne(targetEntity="App\Entity\TitreCompany")
  70.      * @ORM\JoinColumn(name="titre_company_id", referencedColumnName="id")
  71.      */
  72.     protected $titreCompany;
  73.     /**
  74.      * @return mixed
  75.      */
  76.     public function getId()
  77.     {
  78.         return $this->id;
  79.     }
  80.     /**
  81.      * @param mixed $id
  82.      * @return BtlfStatistiques
  83.      */
  84.     public function setId($id)
  85.     {
  86.         $this->id $id;
  87.         return $this;
  88.     }
  89.     /**
  90.      * @return mixed
  91.      */
  92.     public function getDate()
  93.     {
  94.         return $this->date;
  95.     }
  96.     /**
  97.      * @param mixed $date
  98.      * @return BtlfStatistiques
  99.      */
  100.     public function setDate($date)
  101.     {
  102.         $this->date $date;
  103.         return $this;
  104.     }
  105.     /**
  106.      * @return mixed
  107.      */
  108.     public function getVenteDetail()
  109.     {
  110.         return $this->venteDetail;
  111.     }
  112.     /**
  113.      * @param mixed $venteDetail
  114.      * @return BtlfStatistiques
  115.      */
  116.     public function setVenteDetail($venteDetail)
  117.     {
  118.         $this->venteDetail $venteDetail;
  119.         return $this;
  120.     }
  121.     /**
  122.      * @return mixed
  123.      */
  124.     public function getMontantDetail()
  125.     {
  126.         return $this->montantDetail;
  127.     }
  128.     /**
  129.      * @param mixed $montantDetail
  130.      * @return BtlfStatistiques
  131.      */
  132.     public function setMontantDetail($montantDetail)
  133.     {
  134.         $this->montantDetail $montantDetail;
  135.         return $this;
  136.     }
  137.     /**
  138.      * @return mixed
  139.      */
  140.     public function getVenteCollectivite()
  141.     {
  142.         return $this->venteCollectivite;
  143.     }
  144.     /**
  145.      * @param mixed $venteCollectivite
  146.      * @return BtlfStatistiques
  147.      */
  148.     public function setVenteCollectivite($venteCollectivite)
  149.     {
  150.         $this->venteCollectivite $venteCollectivite;
  151.         return $this;
  152.     }
  153.     /**
  154.      * @return mixed
  155.      */
  156.     public function getMontantCollectivite()
  157.     {
  158.         return $this->montantCollectivite;
  159.     }
  160.     /**
  161.      * @param mixed $montantCollectivite
  162.      * @return BtlfStatistiques
  163.      */
  164.     public function setMontantCollectivite($montantCollectivite)
  165.     {
  166.         $this->montantCollectivite $montantCollectivite;
  167.         return $this;
  168.     }
  169.     /**
  170.      * @return mixed
  171.      */
  172.     public function getStock()
  173.     {
  174.         return $this->stock;
  175.     }
  176.     /**
  177.      * @param mixed $stock
  178.      * @return BtlfStatistiques
  179.      */
  180.     public function setStock($stock)
  181.     {
  182.         $this->stock $stock;
  183.         return $this;
  184.     }
  185.     /**
  186.      * @return mixed
  187.      */
  188.     public function getRetour()
  189.     {
  190.         return $this->retour;
  191.     }
  192.     /**
  193.      * @param mixed $retour
  194.      * @return BtlfStatistiques
  195.      */
  196.     public function setRetour($retour)
  197.     {
  198.         $this->retour $retour;
  199.         return $this;
  200.     }
  201.     /**
  202.      * @return Titre
  203.      */
  204.     public function getProduit(): Titre
  205.     {
  206.         return $this->produit;
  207.     }
  208.     /**
  209.      * @param Titre $produit
  210.      * @return BtlfStatistiques
  211.      */
  212.     public function setProduit(Titre $produit)
  213.     {
  214.         $this->produit $produit;
  215.         return $this;
  216.     }
  217.     /**
  218.      * @return Company
  219.      */
  220.     public function getCompany(): Company
  221.     {
  222.         return $this->company;
  223.     }
  224.     /**
  225.      * @param Company $company
  226.      * @return BtlfStatistiques
  227.      */
  228.     public function setCompany(Company $company)
  229.     {
  230.         $this->company $company;
  231.         return $this;
  232.     }
  233.     /**
  234.      * @return TitreCompany
  235.      */
  236.     public function getTitreCompany(): TitreCompany
  237.     {
  238.         return $this->titreCompany;
  239.     }
  240.     /**
  241.      * @param TitreCompany $titreCompany
  242.      * @return BtlfStatistiques
  243.      */
  244.     public function setTitreCompany(TitreCompany $titreCompany)
  245.     {
  246.         $this->titreCompany $titreCompany;
  247.         return $this;
  248.     }
  249.     /**
  250.      * @return mixed
  251.      */
  252.     public function getCommande()
  253.     {
  254.         return $this->commande;
  255.     }
  256.     /**
  257.      * @param mixed $commande
  258.      * @return BtlfStatistiques
  259.      */
  260.     public function setCommande($commande)
  261.     {
  262.         $this->commande $commande;
  263.         return $this;
  264.     }
  265. }