<?php
namespace App\Entity;
use App\Repository\PrevisionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PrevisionRepository::class)
*/
class Prevision
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $year;
/**
* @ORM\Column(type="integer")
*/
private $month;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $objectifCa;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $objectifVisite;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $objectifDevis;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $objectifCommandes;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $objectifClient;
public function getId(): ?int
{
return $this->id;
}
public function getYear(): ?int
{
return $this->year;
}
public function setYear(int $year): self
{
$this->year = $year;
return $this;
}
public function getMonth(): int
{
return $this->month;
}
public function setMonth(int $month): self
{
$this->month = $month;
return $this;
}
public function getObjectifCa(): ?float
{
return $this->objectifCa;
}
public function setObjectifCa(?float $objectifCa): self
{
$this->objectifCa = $objectifCa;
return $this;
}
public function getObjectifVisite(): ?int
{
return $this->objectifVisite;
}
public function setObjectifVisite(?int $objectifVisite): self
{
$this->objectifVisite = $objectifVisite;
return $this;
}
public function getObjectifDevis(): ?int
{
return $this->objectifDevis;
}
public function setObjectifDevis(?int $objectifDevis): self
{
$this->objectifDevis = $objectifDevis;
return $this;
}
public function getObjectifCommandes(): ?int
{
return $this->objectifCommandes;
}
public function setObjectifCommandes(int $objectifCommandes): self
{
$this->objectifCommandes = $objectifCommandes;
return $this;
}
public function getObjectifClient(): ?int
{
return $this->objectifClient;
}
public function setObjectifClient(int $objectifClient): self
{
$this->objectifClient = $objectifClient;
return $this;
}
}