<?php
namespace App\Entity\Facture;
use Doctrine\ORM\Mapping as ORM;
/**
* FacturationItem
*
* @ORM\Table(name="app_facturation_item")
* @ORM\Entity(repositoryClass="App\Repository\Facture\FacturationItemRepository")
*/
class FacturationItem
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="description", type="text")
*/
private $description;
/**
* @var float
*
* @ORM\Column(name="price", type="float")
*/
private $price;
/**
* @var float
*
* @ORM\Column(name="chiffrage", type="float")
*/
private $chiffrage;
/**
* @var float
*
* @ORM\Column(name="factprice", type="float")
*/
private $factprice;
/**
* @var integer
*
* @ORM\Column(name="item_order", type="integer", nullable=true)
*/
private $itemOrder;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Facture\Facturation", inversedBy="facturationItem")
*/
private $facturation;
/**
* @var boolean
*
* @ORM\Column(name="is_done", type="boolean", nullable=true)
*/
private $isDone;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set description
*
* @param string $description
*
* @return FacturationItem
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set price
*
* @param float $price
*
* @return FacturationItem
*/
public function setPrice($price)
{
$this->price = $price;
return $this;
}
/**
* Get price
*
* @return float
*/
public function getPrice()
{
return $this->price;
}
/**
* Set facturation
*
* @param \App\Entity\Facture\Facturation $project
* @return Job
*/
public function setFacturation(\App\Entity\Facture\Facturation $facturation = null)
{
$this->facturation = $facturation;
return $this;
}
/**
* Get facturation
*
* @return \App\Entity\Facture\Facturation
*/
public function getFacturation()
{
return $this->facturation;
}
/**
* @return float
*/
public function getChiffrage()
{
return $this->chiffrage;
}
/**
* @param float $chiffrage
*/
public function setChiffrage($chiffrage)
{
$this->chiffrage = $chiffrage;
}
/**
* @return float
*/
public function getFactprice()
{
return $this->factprice;
}
/**
* @param float $factprice
*/
public function setFactprice($factprice)
{
$this->factprice = $factprice;
}
/**
* @return int
*/
public function getItemOrder()
{
return $this->itemOrder;
}
/**
* @param int $itemOrder
*/
public function setItemOrder($itemOrder)
{
$this->itemOrder = $itemOrder;
}
/**
* @return bool
*/
public function isDone()
{
return $this->isDone;
}
/**
* @param bool $isDone
*/
public function setIsDone($isDone)
{
$this->isDone = $isDone;
}
}