src/Entity/Archivearticle.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ArchivearticleRepository;
  4. use DateTimeInterface;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClass: ArchivearticleRepository::class)]
  8. class Archivearticle
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id = null;
  14.     #[ORM\Column(length: 255, nullable: true)]
  15.     private ?string $quantity = null;
  16.     #[ORM\Column(length: 255, nullable: true)]
  17.     private ?string $designation = null;
  18.     #[ORM\Column(length: 255, nullable: true)]
  19.     private ?string $reference = null;
  20.     #[ORM\Column(length: 255, nullable: true)]
  21.     private ?string $prixachat = null;
  22.     #[ORM\Column(length: 255, nullable: true)]
  23.     private ?string $coefficient = null;
  24.     #[ORM\Column(length: 255, nullable: true)]
  25.     private ?string $prixvente = null;
  26.     #[ORM\Column(length: 255, nullable: true)]
  27.     private ?string $tva = null;
  28.     #[ORM\ManyToOne(inversedBy: 'archivearticles')]
  29.     private ?Fournisseur $fournisseur = null;
  30.     #[ORM\ManyToOne(inversedBy: 'archivearticles')]
  31.     private ?Familles $familles = null;
  32.     #[ORM\Column(length: 255, nullable: true)]
  33.     private ?string $unite = null;
  34.     #[ORM\Column(length: 255, nullable: true)]
  35.     private ?string $operateur = null;
  36.     #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  37.     private ?DateTimeInterface $datearchive = null;
  38.     #[ORM\ManyToOne(inversedBy: 'archivearticle')]
  39.     private ?Famillesdarticles $famillesdarticles = null;
  40.     #[ORM\Column(length: 255, nullable: true)]
  41.     private ?string $typearchive = null;
  42.     #[ORM\Column(length: 255, nullable: true)]
  43.     private ?string $qtemvt = null;
  44.     #[ORM\Column(length: 255, nullable: true)]
  45.     private ?string $fourclient = null;
  46.     #[ORM\Column(length: 255, nullable: true)]
  47.     private ?string $numfiche = null;
  48.     #[ORM\ManyToOne(inversedBy: 'archivearticles')]
  49.     private ?Ficheoffre $ficheachat = null;
  50.     #[ORM\ManyToOne(inversedBy: 'archivearticles')]
  51.     private ?Devis $fichevente = null;
  52.     #[ORM\Column(length: 255, nullable: true)]
  53.     private ?string $stock = null;
  54.     #[ORM\ManyToOne(inversedBy: 'archivearticles', cascade: ["persist"])]
  55.     private ?Ficheachatnf $ficheachatnf = null;
  56.     #[ORM\ManyToOne]
  57.     #[ORM\JoinColumn(onDelete: 'CASCADE')]
  58.     private ?Bondesortie $bondesortie = null;
  59.     public function getId(): ?int
  60.     {
  61.         return $this->id;
  62.     }
  63.     public function getQuantity(): ?string
  64.     {
  65.         return $this->quantity;
  66.     }
  67.     public function setQuantity(?string $quantity): static
  68.     {
  69.         $this->quantity = $quantity;
  70.         return $this;
  71.     }
  72.     public function getDesignation(): ?string
  73.     {
  74.         return $this->designation;
  75.     }
  76.     public function setDesignation(?string $designation): static
  77.     {
  78.         $this->designation = $designation;
  79.         return $this;
  80.     }
  81.     public function getReference(): ?string
  82.     {
  83.         return $this->reference;
  84.     }
  85.     public function setReference(?string $reference): static
  86.     {
  87.         $this->reference = $reference;
  88.         return $this;
  89.     }
  90.     public function getPrixachat(): ?string
  91.     {
  92.         return $this->prixachat;
  93.     }
  94.     public function setPrixachat(?string $prixachat): static
  95.     {
  96.         $this->prixachat = $prixachat;
  97.         return $this;
  98.     }
  99.     public function getCoefficient(): ?string
  100.     {
  101.         return $this->coefficient;
  102.     }
  103.     public function setCoefficient(?string $coefficient): static
  104.     {
  105.         $this->coefficient = $coefficient;
  106.         return $this;
  107.     }
  108.     public function getPrixvente(): ?string
  109.     {
  110.         return $this->prixvente;
  111.     }
  112.     public function setPrixvente(?string $prixvente): static
  113.     {
  114.         $this->prixvente = $prixvente;
  115.         return $this;
  116.     }
  117.     public function getTva(): ?string
  118.     {
  119.         return $this->tva;
  120.     }
  121.     public function setTva(?string $tva): static
  122.     {
  123.         $this->tva = $tva;
  124.         return $this;
  125.     }
  126.     public function getFournisseur(): ?Fournisseur
  127.     {
  128.         return $this->fournisseur;
  129.     }
  130.     public function setFournisseur(?Fournisseur $fournisseur): static
  131.     {
  132.         $this->fournisseur = $fournisseur;
  133.         return $this;
  134.     }
  135.     public function getFamilles(): ?Familles
  136.     {
  137.         return $this->familles;
  138.     }
  139.     public function setFamilles(?Familles $familles): static
  140.     {
  141.         $this->familles = $familles;
  142.         return $this;
  143.     }
  144.     public function getUnite(): ?string
  145.     {
  146.         return $this->unite;
  147.     }
  148.     public function setUnite(?string $unite): static
  149.     {
  150.         $this->unite = $unite;
  151.         return $this;
  152.     }
  153.     public function getOperateur(): ?string
  154.     {
  155.         return $this->operateur;
  156.     }
  157.     public function setOperateur(?string $operateur): static
  158.     {
  159.         $this->operateur = $operateur;
  160.         return $this;
  161.     }
  162.     public function getDatearchive(): ?DateTimeInterface
  163.     {
  164.         return $this->datearchive;
  165.     }
  166.     public function setDatearchive(?DateTimeInterface $datearchive): static
  167.     {
  168.         $this->datearchive = $datearchive;
  169.         return $this;
  170.     }
  171.     public function getFamillesdarticles(): ?Famillesdarticles
  172.     {
  173.         return $this->famillesdarticles;
  174.     }
  175.     public function setFamillesdarticles(?Famillesdarticles $famillesdarticles): static
  176.     {
  177.         $this->famillesdarticles = $famillesdarticles;
  178.         return $this;
  179.     }
  180.     public function getTypearchive(): ?string
  181.     {
  182.         return $this->typearchive;
  183.     }
  184.     public function setTypearchive(?string $typearchive): self
  185.     {
  186.         $this->typearchive = $typearchive;
  187.         return $this;
  188.     }
  189.     public function getQtemvt(): ?string
  190.     {
  191.         return $this->qtemvt;
  192.     }
  193.     public function setQtemvt(?string $qtemvt): self
  194.     {
  195.         $this->qtemvt = $qtemvt;
  196.         return $this;
  197.     }
  198.     public function getFourclient(): ?string
  199.     {
  200.         return $this->fourclient;
  201.     }
  202.     public function setFourclient(?string $fourclient): self
  203.     {
  204.         $this->fourclient = $fourclient;
  205.         return $this;
  206.     }
  207.     public function getNumfiche(): ?string
  208.     {
  209.         return $this->numfiche;
  210.     }
  211.     public function setNumfiche(?string $numfiche): self
  212.     {
  213.         $this->numfiche = $numfiche;
  214.         return $this;
  215.     }
  216.     public function getFicheachat(): ?Ficheoffre
  217.     {
  218.         return $this->ficheachat;
  219.     }
  220.     public function setFicheachat(?Ficheoffre $ficheachat): self
  221.     {
  222.         $this->ficheachat = $ficheachat;
  223.         return $this;
  224.     }
  225.     public function getFichevente(): ?Devis
  226.     {
  227.         return $this->fichevente;
  228.     }
  229.     public function setFichevente(?Devis $fichevente): self
  230.     {
  231.         $this->fichevente = $fichevente;
  232.         return $this;
  233.     }
  234.     public function getStock(): ?string
  235.     {
  236.         return $this->stock;
  237.     }
  238.     public function setStock(?string $stock): self
  239.     {
  240.         $this->stock = $stock;
  241.         return $this;
  242.     }
  243.     public function getFicheachatnf(): ?Ficheachatnf
  244.     {
  245.         return $this->ficheachatnf;
  246.     }
  247.     public function setFicheachatnf(?Ficheachatnf $ficheachatnf): self
  248.     {
  249.         $this->ficheachatnf = $ficheachatnf;
  250.         return $this;
  251.     }
  252.     public function getBondesortie(): ?Bondesortie
  253.     {
  254.         return $this->bondesortie;
  255.     }
  256.     public function setBondesortie(?Bondesortie $bondesortie): self
  257.     {
  258.         $this->bondesortie = $bondesortie;
  259.         return $this;
  260.     }
  261. }