<?php
namespace App\Entity;
use App\Repository\FournitureItemRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FournitureItemRepository::class)
*/
class FournitureItem
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $titre;
/**
* @ORM\Column(type="string", length=255)
*/
private $sousTitre;
/**
* @ORM\Column(type="float")
*/
private $montant;
/**
* @ORM\Column(type="float")
*/
private $montantUnitaire;
/**
* @ORM\Column(type="float", nullable="true")
*/
private $montantMbe;
/**
* @ORM\ManyToOne(targetEntity=FournitureCategorie::class, inversedBy="fournituresItem")
*/
private $fournitureCategorie;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $nbBouteille;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $nbMagnum;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $nbJeroboam;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $ordre;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getSousTitre(): ?string
{
return $this->sousTitre;
}
public function setSousTitre(string $sousTitre): self
{
$this->sousTitre = $sousTitre;
return $this;
}
public function getMontant(): ?float
{
return $this->montant;
}
public function setMontant(float $montant): self
{
$this->montant = $montant;
return $this;
}
public function getMontantUnitaire(): ?float
{
return $this->montantUnitaire;
}
public function setMontantUnitaire(float $montantUnitaire): self
{
$this->montantUnitaire = $montantUnitaire;
return $this;
}
public function getMontantMbe(): ?float
{
return $this->montantMbe;
}
public function setMontantMbe(float $montantMbe): self
{
$this->montantMbe = $montantMbe;
return $this;
}
public function getFournitureCategorie(): ?FournitureCategorie
{
return $this->fournitureCategorie;
}
public function setFournitureCategorie(?FournitureCategorie $fournitureCategorie): self
{
$this->fournitureCategorie = $fournitureCategorie;
return $this;
}
public function getNbBouteille(): ?int
{
return $this->nbBouteille;
}
public function setNbBouteille(?int $nbBouteille): self
{
$this->nbBouteille = $nbBouteille;
return $this;
}
public function getNbMagnum(): ?int
{
return $this->nbMagnum;
}
public function setNbMagnum(?int $nbMagnum): self
{
$this->nbMagnum = $nbMagnum;
return $this;
}
public function getNbJeroboam(): ?int
{
return $this->nbJeroboam;
}
public function setNbJeroboam(?int $nbJeroboam): self
{
$this->nbJeroboam = $nbJeroboam;
return $this;
}
public function getOrdre(): ?int
{
return $this->ordre;
}
public function setOrdre(int $ordre): self
{
$this->ordre = $ordre;
return $this;
}
}