<?php
namespace App\Entity;
use App\Repository\ProduitRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ProduitRepository::class)]
class Produit
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $designation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $qte = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $remise = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $montantht = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $code = null;
#[ORM\ManyToOne(inversedBy: 'produit', cascade: ["persist"])]
private ?Devis $devis = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prix = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $tva = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $deviss = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $coursdejours = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prixunitdt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $demande = null;
#[ORM\Column(nullable: true)]
private ?bool $confermation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $qtestock = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $qtef = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $qterest = null;
#[ORM\Column(nullable: true)]
private ?bool $IsFact = null;
public function getId(): ?int
{
return $this->id;
}
public function getDesignation(): ?string
{
return $this->designation;
}
public function setDesignation(?string $designation): self
{
$this->designation = $designation;
return $this;
}
public function getQte(): ?string
{
return $this->qte;
}
public function setQte(?string $qte): self
{
$this->qte = $qte;
return $this;
}
public function getRemise(): ?string
{
return $this->remise;
}
public function setRemise(?string $remise): self
{
$this->remise = $remise;
return $this;
}
public function getMontantht(): ?string
{
return $this->montantht;
}
public function setMontantht(?string $montantht): self
{
$this->montantht = $montantht;
return $this;
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
public function getDevis(): ?Devis
{
return $this->devis;
}
public function setDevis(?Devis $devis): self
{
$this->devis = $devis;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getPrix(): ?string
{
return $this->prix;
}
public function setPrix(?string $prix): self
{
$this->prix = $prix;
return $this;
}
public function getTva(): ?string
{
return $this->tva;
}
public function setTva(?string $tva): self
{
$this->tva = $tva;
return $this;
}
public function getDeviss(): ?string
{
return $this->deviss;
}
public function setDeviss(?string $deviss): static
{
$this->deviss = $deviss;
return $this;
}
public function getCoursdejours(): ?string
{
return $this->coursdejours;
}
public function setCoursdejours(?string $coursdejours): static
{
$this->coursdejours = $coursdejours;
return $this;
}
public function getPrixunitdt(): ?string
{
return $this->prixunitdt;
}
public function setPrixunitdt(?string $prixunitdt): static
{
$this->prixunitdt = $prixunitdt;
return $this;
}
public function getDemande(): ?string
{
return $this->demande;
}
public function setDemande(?string $demande): static
{
$this->demande = $demande;
return $this;
}
public function isConfermation(): ?bool
{
return $this->confermation;
}
public function setConfermation(?bool $confermation): static
{
$this->confermation = $confermation;
return $this;
}
public function getQtestock(): ?string
{
return $this->qtestock;
}
public function setQtestock(?string $qtestock): static
{
$this->qtestock = $qtestock;
return $this;
}
public function getQtef(): ?string
{
return $this->qtef;
}
public function setQtef(?string $qtef): self
{
$this->qtef = $qtef;
return $this;
}
public function getQterest(): ?string
{
return $this->qterest;
}
public function setQterest(?string $qterest): self
{
$this->qterest = $qterest;
return $this;
}
public function isIsFact(): ?bool
{
return $this->IsFact;
}
public function getIsFact(): ?bool
{
return $this->IsFact;
}
public function setIsFact(?bool $IsFact): self
{
$this->IsFact = $IsFact;
return $this;
}
}