src/Entity/Facture/FacturationItem.php line 134

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Facture;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * FacturationItem
  6.  *
  7.  * @ORM\Table(name="app_facturation_item")
  8.  * @ORM\Entity(repositoryClass="App\Repository\Facture\FacturationItemRepository")
  9.  */
  10. class FacturationItem
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="description", type="text")
  24.      */
  25.     private $description;
  26.     /**
  27.      * @var float
  28.      *
  29.      * @ORM\Column(name="price", type="float")
  30.      */
  31.     private $price;
  32.     /**
  33.      * @var float
  34.      *
  35.      * @ORM\Column(name="chiffrage", type="float")
  36.      */
  37.     private $chiffrage;
  38.     /**
  39.      * @var float
  40.      *
  41.      * @ORM\Column(name="factprice", type="float")
  42.      */
  43.     private $factprice;
  44.     /**
  45.      * @var integer
  46.      *
  47.      * @ORM\Column(name="item_order", type="integer", nullable=true)
  48.      */
  49.     private $itemOrder;
  50.     /**
  51.      * @ORM\ManyToOne(targetEntity="App\Entity\Facture\Facturation", inversedBy="facturationItem")
  52.      */
  53.     private $facturation;
  54.     /**
  55.      * @var boolean
  56.      *
  57.      * @ORM\Column(name="is_done", type="boolean", nullable=true)
  58.      */
  59.     private $isDone;
  60.     /**
  61.      * Get id
  62.      *
  63.      * @return int
  64.      */
  65.     public function getId()
  66.     {
  67.         return $this->id;
  68.     }
  69.     /**
  70.      * Set description
  71.      *
  72.      * @param string $description
  73.      *
  74.      * @return FacturationItem
  75.      */
  76.     public function setDescription($description)
  77.     {
  78.         $this->description = $description;
  79.         return $this;
  80.     }
  81.     /**
  82.      * Get description
  83.      *
  84.      * @return string
  85.      */
  86.     public function getDescription()
  87.     {
  88.         return $this->description;
  89.     }
  90.     /**
  91.      * Set price
  92.      *
  93.      * @param float $price
  94.      *
  95.      * @return FacturationItem
  96.      */
  97.     public function setPrice($price)
  98.     {
  99.         $this->price = $price;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get price
  104.      *
  105.      * @return float
  106.      */
  107.     public function getPrice()
  108.     {
  109.         return $this->price;
  110.     }
  111.     /**
  112.      * Set facturation
  113.      *
  114.      * @param \App\Entity\Facture\Facturation $project
  115.      * @return Job
  116.      */
  117.     public function setFacturation(\App\Entity\Facture\Facturation $facturation = null)
  118.     {
  119.         $this->facturation = $facturation;
  120.         return $this;
  121.     }
  122.     /**
  123.      * Get facturation
  124.      *
  125.      * @return \App\Entity\Facture\Facturation
  126.      */
  127.     public function getFacturation()
  128.     {
  129.         return $this->facturation;
  130.     }
  131.     /**
  132.      * @return float
  133.      */
  134.     public function getChiffrage()
  135.     {
  136.         return $this->chiffrage;
  137.     }
  138.     /**
  139.      * @param float $chiffrage
  140.      */
  141.     public function setChiffrage($chiffrage)
  142.     {
  143.         $this->chiffrage = $chiffrage;
  144.     }
  145.     /**
  146.      * @return float
  147.      */
  148.     public function getFactprice()
  149.     {
  150.         return $this->factprice;
  151.     }
  152.     /**
  153.      * @param float $factprice
  154.      */
  155.     public function setFactprice($factprice)
  156.     {
  157.         $this->factprice = $factprice;
  158.     }
  159.     /**
  160.      * @return int
  161.      */
  162.     public function getItemOrder()
  163.     {
  164.         return $this->itemOrder;
  165.     }
  166.     /**
  167.      * @param int $itemOrder
  168.      */
  169.     public function setItemOrder($itemOrder)
  170.     {
  171.         $this->itemOrder = $itemOrder;
  172.     }
  173.     /**
  174.      * @return bool
  175.      */
  176.     public function isDone()
  177.     {
  178.         return $this->isDone;
  179.     }
  180.     /**
  181.      * @param bool $isDone
  182.      */
  183.     public function setIsDone($isDone)
  184.     {
  185.         $this->isDone = $isDone;
  186.     }
  187. }