src/Entity/FactureDocument.php line 9
<?phpnamespace App\Entity;use App\Repository\FactureDocumentRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FactureDocumentRepository::class)]class FactureDocument{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'factureDocuments')]private ?Facture $facture = null;#[ORM\Column(length: 255)]private ?string $nameFile = null;public function getId(): ?int{return $this->id;}public function getFacture(): ?Facture{return $this->facture;}public function setFacture(?Facture $facture): self{$this->facture = $facture;return $this;}public function getNameFile(): ?string{return $this->nameFile;}public function setNameFile(string $nameFile): self{$this->nameFile = $nameFile;return $this;}}