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