<?phpnamespace App\Entity;use App\Repository\ArticleficheachatnfRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ArticleficheachatnfRepository::class)]class Articleficheachatnf{ #[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 $prix = null; #[ORM\Column(length: 255, nullable: true)] private ?string $montant = null; #[ORM\Column(length: 255, nullable: true)] private ?string $reference = null; #[ORM\Column(length: 255, nullable: true)] private ?string $designation = null; #[ORM\ManyToOne(inversedBy: 'articleficheachatnfs', cascade: ["persist"])] private ?Ficheachatnf $ficheachatnf = null; #[ORM\ManyToOne(inversedBy: 'articleficheachatnfs')] private ?Famillesdarticles $produit = null; #[ORM\Column(length: 255, nullable: true)] private ?string $type = null; public function getId(): ?int { return $this->id; } public function getQuantity(): ?string { return $this->quantity; } public function setQuantity(?string $quantity): self { $this->quantity = $quantity; return $this; } public function getPrix(): ?string { return $this->prix; } public function setPrix(?string $prix): self { $this->prix = $prix; return $this; } public function getMontant(): ?string { return $this->montant; } public function setMontant(?string $montant): self { $this->montant = $montant; return $this; } public function getReference(): ?string { return $this->reference; } public function setReference(?string $reference): self { $this->reference = $reference; return $this; } public function getDesignation(): ?string { return $this->designation; } public function setDesignation(?string $designation): self { $this->designation = $designation; return $this; } public function getFicheachatnf(): ?Ficheachatnf { return $this->ficheachatnf; } public function setFicheachatnf(?Ficheachatnf $ficheachatnf): self { $this->ficheachatnf = $ficheachatnf; return $this; } public function getProduit(): ?Famillesdarticles { return $this->produit; } public function setProduit(?Famillesdarticles $produit): self { $this->produit = $produit; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; }}