src/Entity/Articleficheachatnf.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ArticleficheachatnfRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassArticleficheachatnfRepository::class)]
  6. class Articleficheachatnf
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $quantity null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $prix null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $montant null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $reference null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $designation null;
  22.     #[ORM\ManyToOne(inversedBy'articleficheachatnfs'cascade: ["persist"])]
  23.     private ?Ficheachatnf $ficheachatnf null;
  24.     #[ORM\ManyToOne(inversedBy'articleficheachatnfs')]
  25.     private ?Famillesdarticles $produit null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $type null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getQuantity(): ?string
  33.     {
  34.         return $this->quantity;
  35.     }
  36.     public function setQuantity(?string $quantity): self
  37.     {
  38.         $this->quantity $quantity;
  39.         return $this;
  40.     }
  41.     public function getPrix(): ?string
  42.     {
  43.         return $this->prix;
  44.     }
  45.     public function setPrix(?string $prix): self
  46.     {
  47.         $this->prix $prix;
  48.         return $this;
  49.     }
  50.     public function getMontant(): ?string
  51.     {
  52.         return $this->montant;
  53.     }
  54.     public function setMontant(?string $montant): self
  55.     {
  56.         $this->montant $montant;
  57.         return $this;
  58.     }
  59.     public function getReference(): ?string
  60.     {
  61.         return $this->reference;
  62.     }
  63.     public function setReference(?string $reference): self
  64.     {
  65.         $this->reference $reference;
  66.         return $this;
  67.     }
  68.     public function getDesignation(): ?string
  69.     {
  70.         return $this->designation;
  71.     }
  72.     public function setDesignation(?string $designation): self
  73.     {
  74.         $this->designation $designation;
  75.         return $this;
  76.     }
  77.     public function getFicheachatnf(): ?Ficheachatnf
  78.     {
  79.         return $this->ficheachatnf;
  80.     }
  81.     public function setFicheachatnf(?Ficheachatnf $ficheachatnf): self
  82.     {
  83.         $this->ficheachatnf $ficheachatnf;
  84.         return $this;
  85.     }
  86.     public function getProduit(): ?Famillesdarticles
  87.     {
  88.         return $this->produit;
  89.     }
  90.     public function setProduit(?Famillesdarticles $produit): self
  91.     {
  92.         $this->produit $produit;
  93.         return $this;
  94.     }
  95.     public function getType(): ?string
  96.     {
  97.         return $this->type;
  98.     }
  99.     public function setType(?string $type): self
  100.     {
  101.         $this->type $type;
  102.         return $this;
  103.     }
  104. }