src/Entity/Articles.php line 10
<?php
namespace App\Entity;
use App\Repository\ArticlesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ArticlesRepository::class)]
class Articles
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $dateAjout = null;
#[ORM\Column(length: 255)]
private ?string $titre = null;
#[ORM\Column(length: 255)]
private ?string $ref = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $description = null;
#[ORM\Column]
private ?float $prixAchat = null;
#[ORM\Column]
private ?float $marge = null;
#[ORM\Column]
private ?float $prixHT = null;
#[ORM\Column]
private ?float $prixTTC = null;
#[ORM\Column]
private ?float $tva = null;
#[ORM\Column]
private ?float $prixPromo = null;
#[ORM\Column]
private ?float $prixPro = null;
#[ORM\Column]
private ?float $prixProTTC = null;
#[ORM\Column]
private ?float $minQte = null;
#[ORM\Column(length: 255)]
private ?string $unite = null;
#[ORM\Column(length: 255)]
private ?string $imgPrincipale = null;
#[ORM\Column]
private ?int $idSousCategorie = null;
#[ORM\Column]
private ?int $etat = null;
#[ORM\Column]
private ?int $ordre = null;
public function getId(): ?int
{
return $this->id;
}
public function getDateAjout(): ?\DateTimeInterface
{
return $this->dateAjout;
}
public function setDateAjout(\DateTimeInterface $dateAjout): static
{
$this->dateAjout = $dateAjout;
return $this;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): static
{
$this->titre = $titre;
return $this;
}
public function getRef(): ?string
{
return $this->ref;
}
public function setRef(string $ref): static
{
$this->ref = $ref;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): static
{
$this->description = $description;
return $this;
}
public function getPrixAchat(): ?float
{
return $this->prixAchat;
}
public function setPrixAchat(float $prixAchat): static
{
$this->prixAchat = $prixAchat;
return $this;
}
public function getMarge(): ?float
{
return $this->marge;
}
public function setMarge(float $marge): static
{
$this->marge = $marge;
return $this;
}
public function getPrixHT(): ?float
{
return $this->prixHT;
}
public function setPrixHT(float $prixHT): static
{
$this->prixHT = $prixHT;
return $this;
}
public function getPrixTTC(): ?float
{
return $this->prixTTC;
}
public function setPrixTTC(float $prixTTC): static
{
$this->prixTTC = $prixTTC;
return $this;
}
public function getTva(): ?float
{
return $this->tva;
}
public function setTva(float $tva): static
{
$this->tva = $tva;
return $this;
}
public function getPrixPromo(): ?float
{
return $this->prixPromo;
}
public function setPrixPromo(float $prixPromo): static
{
$this->prixPromo = $prixPromo;
return $this;
}
public function getPrixPro(): ?float
{
return $this->prixPro;
}
public function setPrixPro(float $prixPro): static
{
$this->prixPro = $prixPro;
return $this;
}
public function getPrixProTTC(): ?float
{
return $this->prixProTTC;
}
public function setPrixProTTC(float $prixProTTC): static
{
$this->prixProTTC = $prixProTTC;
return $this;
}
public function getMinQte(): ?float
{
return $this->minQte;
}
public function setMinQte(float $minQte): static
{
$this->minQte = $minQte;
return $this;
}
public function getUnite(): ?string
{
return $this->unite;
}
public function setUnite(string $unite): static
{
$this->unite = $unite;
return $this;
}
public function getImgPrincipale(): ?string
{
return $this->imgPrincipale;
}
public function setImgPrincipale(string $imgPrincipale): static
{
$this->imgPrincipale = $imgPrincipale;
return $this;
}
public function getIdSousCategorie(): ?int
{
return $this->idSousCategorie;
}
public function setIdSousCategorie(int $idSousCategorie): static
{
$this->idSousCategorie = $idSousCategorie;
return $this;
}
public function getEtat(): ?int
{
return $this->etat;
}
public function setEtat(int $etat): static
{
$this->etat = $etat;
return $this;
}
public function getOrdre(): ?int
{
return $this->ordre;
}
public function setOrdre(int $ordre): static
{
$this->ordre = $ordre;
return $this;
}
}