<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Clientventeavoir
*
* @ORM\Table(name="clientventeavoir", options={"collate"="latin1_general_ci","charset"="latin1"})
* @ORM\Entity(repositoryClass="App\Repository\ClientventeavoirRepository")
*/
class Clientventeavoir
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Fournisseur", cascade={"persist"})
* @ORM\JoinColumn(nullable=false)
*/
private $idfournisseur;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Client", cascade={"persist"})
* @ORM\JoinColumn(nullable=false)
*/
private $idclient;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Admin", cascade={"persist"})
* @ORM\JoinColumn(nullable=false)
*/
private $idadmin;
/**
* @var \DateTime
*
* @ORM\Column(name="datefr", type="date", nullable=false)
*/
private $datefr;
/**
* @var float
*
* @ORM\Column(name="montantht", type="decimal", nullable=false, precision=8, scale=2)
*/
private $montantht;
/**
* @var string
*
* @ORM\Column(name="commentaire", type="text", nullable=false)
*/
private $commentaire;
/**
* @var float
*
* @ORM\Column(name="commission", type="decimal", nullable=false, precision=8, scale=2)
*/
private $commission;
/**
* @var float
*
* @ORM\Column(name="adminCom", type="decimal", nullable=false, precision=8, scale=2)
*/
private $adminCom;
/**
* @var \DateTime
*
* @ORM\Column(name="paye_admin", type="date", nullable=false)
*/
private $payeAdmin;
/**
* @var \DateTime
*
* @ORM\Column(name="facturedatefr", type="date", nullable=false)
*/
private $facturedatefr;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set datefr
*
* @param \DateTime $datefr
* @return Clientventeavoir
*/
public function setDatefr($datefr)
{
$this->datefr = $datefr;
return $this;
}
/**
* Get datefr
*
* @return \DateTime
*/
public function getDatefr()
{
return $this->datefr;
}
/**
* Set montantht
*
* @param float $montantht
* @return Clientventeavoir
*/
public function setMontantht($montantht)
{
$this->montantht = $montantht;
return $this;
}
/**
* Get montantht
*
* @return float
*/
public function getMontantht()
{
return $this->montantht;
}
/**
* Set commentaire
*
* @param string $commentaire
* @return Clientventeavoir
*/
public function setCommentaire($commentaire)
{
$this->commentaire = $commentaire;
return $this;
}
/**
* Get commentaire
*
* @return string
*/
public function getCommentaire()
{
return $this->commentaire;
}
/**
* Set commission
*
* @param float $commission
* @return Clientventeavoir
*/
public function setCommission($commission)
{
$this->commission = $commission;
return $this;
}
/**
* Get commission
*
* @return float
*/
public function getCommission()
{
return $this->commission;
}
/**
* Set adminCom
*
* @param float $adminCom
* @return Clientventeavoir
*/
public function setAdminCom($adminCom)
{
$this->adminCom = $adminCom;
return $this;
}
/**
* Get adminCom
*
* @return float
*/
public function getAdminCom()
{
return $this->adminCom;
}
/**
* Set payeAdmin
*
* @param \DateTime $payeAdmin
* @return Clientventeavoir
*/
public function setPayeAdmin($payeAdmin)
{
$this->payeAdmin = $payeAdmin;
return $this;
}
/**
* Get payeAdmin
*
* @return \DateTime
*/
public function getPayeAdmin()
{
return $this->payeAdmin;
}
/**
* Set facturedatefr
*
* @param \DateTime $facturedatefr
* @return Clientventeavoir
*/
public function setFacturedatefr($facturedatefr)
{
$this->facturedatefr = $facturedatefr;
return $this;
}
/**
* Get facturedatefr
*
* @return \DateTime
*/
public function getFacturedatefr()
{
return $this->facturedatefr;
}
/**
* Set idfournisseur
*
* @param Fournisseur $idfournisseur
* @return Clientventeavoir
*/
public function setIdfournisseur(Fournisseur $idfournisseur)
{
$this->idfournisseur = $idfournisseur;
return $this;
}
/**
* Get idfournisseur
*
* @return Fournisseur
*/
public function getIdfournisseur()
{
return $this->idfournisseur;
}
/**
* Set idclient
*
* @param Client $idclient
* @return Clientventeavoir
*/
public function setIdclient(Client $idclient)
{
$this->idclient = $idclient;
return $this;
}
/**
* Get idclient
*
* @return Client
*/
public function getIdclient()
{
return $this->idclient;
}
/**
* Set idadmin
*
* @param Admin $idadmin
* @return Clientventeavoir
*/
public function setIdadmin(Admin $idadmin)
{
$this->idadmin = $idadmin;
return $this;
}
/**
* Get idadmin
*
* @return Admin
*/
public function getIdadmin()
{
return $this->idadmin;
}
}