<?php
namespace App\Entity;
use App\Repository\ArchivearticleRepository;
use DateTimeInterface;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ArchivearticleRepository::class)]
class Archivearticle
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $quantity = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $designation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $reference = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prixachat = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $coefficient = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prixvente = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $tva = null;
#[ORM\ManyToOne(inversedBy: 'archivearticles')]
private ?Fournisseur $fournisseur = null;
#[ORM\ManyToOne(inversedBy: 'archivearticles')]
private ?Familles $familles = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $unite = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $operateur = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?DateTimeInterface $datearchive = null;
#[ORM\ManyToOne(inversedBy: 'archivearticle')]
private ?Famillesdarticles $famillesdarticles = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $typearchive = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $qtemvt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $fourclient = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $numfiche = null;
#[ORM\ManyToOne(inversedBy: 'archivearticles')]
private ?Ficheoffre $ficheachat = null;
#[ORM\ManyToOne(inversedBy: 'archivearticles')]
private ?Devis $fichevente = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $stock = null;
#[ORM\ManyToOne(inversedBy: 'archivearticles', cascade: ["persist"])]
private ?Ficheachatnf $ficheachatnf = null;
public function getId(): ?int
{
return $this->id;
}
public function getQuantity(): ?string
{
return $this->quantity;
}
public function setQuantity(?string $quantity): static
{
$this->quantity = $quantity;
return $this;
}
public function getDesignation(): ?string
{
return $this->designation;
}
public function setDesignation(?string $designation): static
{
$this->designation = $designation;
return $this;
}
public function getReference(): ?string
{
return $this->reference;
}
public function setReference(?string $reference): static
{
$this->reference = $reference;
return $this;
}
public function getPrixachat(): ?string
{
return $this->prixachat;
}
public function setPrixachat(?string $prixachat): static
{
$this->prixachat = $prixachat;
return $this;
}
public function getCoefficient(): ?string
{
return $this->coefficient;
}
public function setCoefficient(?string $coefficient): static
{
$this->coefficient = $coefficient;
return $this;
}
public function getPrixvente(): ?string
{
return $this->prixvente;
}
public function setPrixvente(?string $prixvente): static
{
$this->prixvente = $prixvente;
return $this;
}
public function getTva(): ?string
{
return $this->tva;
}
public function setTva(?string $tva): static
{
$this->tva = $tva;
return $this;
}
public function getFournisseur(): ?Fournisseur
{
return $this->fournisseur;
}
public function setFournisseur(?Fournisseur $fournisseur): static
{
$this->fournisseur = $fournisseur;
return $this;
}
public function getFamilles(): ?Familles
{
return $this->familles;
}
public function setFamilles(?Familles $familles): static
{
$this->familles = $familles;
return $this;
}
public function getUnite(): ?string
{
return $this->unite;
}
public function setUnite(?string $unite): static
{
$this->unite = $unite;
return $this;
}
public function getOperateur(): ?string
{
return $this->operateur;
}
public function setOperateur(?string $operateur): static
{
$this->operateur = $operateur;
return $this;
}
public function getDatearchive(): ?DateTimeInterface
{
return $this->datearchive;
}
public function setDatearchive(?DateTimeInterface $datearchive): static
{
$this->datearchive = $datearchive;
return $this;
}
public function getFamillesdarticles(): ?Famillesdarticles
{
return $this->famillesdarticles;
}
public function setFamillesdarticles(?Famillesdarticles $famillesdarticles): static
{
$this->famillesdarticles = $famillesdarticles;
return $this;
}
public function getTypearchive(): ?string
{
return $this->typearchive;
}
public function setTypearchive(?string $typearchive): self
{
$this->typearchive = $typearchive;
return $this;
}
public function getQtemvt(): ?string
{
return $this->qtemvt;
}
public function setQtemvt(?string $qtemvt): self
{
$this->qtemvt = $qtemvt;
return $this;
}
public function getFourclient(): ?string
{
return $this->fourclient;
}
public function setFourclient(?string $fourclient): self
{
$this->fourclient = $fourclient;
return $this;
}
public function getNumfiche(): ?string
{
return $this->numfiche;
}
public function setNumfiche(?string $numfiche): self
{
$this->numfiche = $numfiche;
return $this;
}
public function getFicheachat(): ?Ficheoffre
{
return $this->ficheachat;
}
public function setFicheachat(?Ficheoffre $ficheachat): self
{
$this->ficheachat = $ficheachat;
return $this;
}
public function getFichevente(): ?Devis
{
return $this->fichevente;
}
public function setFichevente(?Devis $fichevente): self
{
$this->fichevente = $fichevente;
return $this;
}
public function getStock(): ?string
{
return $this->stock;
}
public function setStock(?string $stock): self
{
$this->stock = $stock;
return $this;
}
public function getFicheachatnf(): ?Ficheachatnf
{
return $this->ficheachatnf;
}
public function setFicheachatnf(?Ficheachatnf $ficheachatnf): self
{
$this->ficheachatnf = $ficheachatnf;
return $this;
}
}