src/Entity/Prevision.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PrevisionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PrevisionRepository::class)
  7.  */
  8. class Prevision
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $year;
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $month;
  24.     /**
  25.      * @ORM\Column(type="float", nullable=true)
  26.      */
  27.     private $objectifCa;
  28.     /**
  29.      * @ORM\Column(type="integer", nullable=true)
  30.      */
  31.     private $objectifVisite;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $objectifDevis;
  36.     /**
  37.      * @ORM\Column(type="integer", nullable=true)
  38.      */
  39.     private $objectifCommandes;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $objectifClient;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getYear(): ?int
  49.     {
  50.         return $this->year;
  51.     }
  52.     public function setYear(int $year): self
  53.     {
  54.         $this->year $year;
  55.         return $this;
  56.     }
  57.      public function getMonth(): int
  58.     {
  59.         return $this->month;
  60.     }
  61.     public function setMonth(int $month): self
  62.     {
  63.         $this->month $month;
  64.         return $this;
  65.     }
  66.     public function getObjectifCa(): ?float
  67.     {
  68.         return $this->objectifCa;
  69.     }
  70.     public function setObjectifCa(?float $objectifCa): self
  71.     {
  72.         $this->objectifCa $objectifCa;
  73.         return $this;
  74.     }
  75.     public function getObjectifVisite(): ?int
  76.     {
  77.         return $this->objectifVisite;
  78.     }
  79.     public function setObjectifVisite(?int $objectifVisite): self
  80.     {
  81.         $this->objectifVisite $objectifVisite;
  82.         return $this;
  83.     }
  84.     public function getObjectifDevis(): ?int
  85.     {
  86.         return $this->objectifDevis;
  87.     }
  88.     public function setObjectifDevis(?int $objectifDevis): self
  89.     {
  90.         $this->objectifDevis $objectifDevis;
  91.         return $this;
  92.     }
  93.     public function getObjectifCommandes(): ?int
  94.     {
  95.         return $this->objectifCommandes;
  96.     }
  97.     public function setObjectifCommandes(int $objectifCommandes): self
  98.     {
  99.         $this->objectifCommandes $objectifCommandes;
  100.         return $this;
  101.     }
  102.     public function getObjectifClient(): ?int
  103.     {
  104.         return $this->objectifClient;
  105.     }
  106.     public function setObjectifClient(int $objectifClient): self
  107.     {
  108.         $this->objectifClient $objectifClient;
  109.         return $this;
  110.     }
  111. }