<?phpnamespace App\Entity;use App\Repository\InvoiceRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: InvoiceRepository::class)]class Invoice{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $customer_name = null; #[ORM\Column(nullable: true)] private ?float $invoice_amount = null; #[ORM\Column(length: 255, nullable: true)] private ?string $url_invoice = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $invoice_import_date = null; #[ORM\Column(length: 255)] private ?string $reference = null; #[ORM\Column(length: 20)] private ?string $currency = null; #[ORM\Column(length: 255)] private ?string $fournisseur = null; #[ORM\Column(length: 255, nullable: true)] private ?string $pdfName = null; public function getId(): ?int { return $this->id; } public function getCustomerName(): ?string { return $this->customer_name; } public function setCustomerName(?string $customer_name): self { $this->customer_name = $customer_name; return $this; } public function getInvoiceAmount(): ?float { return $this->invoice_amount; } public function setInvoiceAmount(?float $invoice_amount): self { $this->invoice_amount = $invoice_amount; return $this; } public function getUrlInvoice(): ?string { return $this->url_invoice; } public function setUrlInvoice(?string $url_invoice): self { $this->url_invoice = $url_invoice; return $this; } public function getInvoiceImportDate(): ?\DateTimeInterface { return $this->invoice_import_date; } public function setInvoiceImportDate(?\DateTimeInterface $invoice_import_date): self { $this->invoice_import_date = $invoice_import_date; return $this; } public function getReference(): ?string { return $this->reference; } public function setReference(string $reference): self { $this->reference = $reference; return $this; } public function getCurrency(): ?string { return $this->currency; } public function setCurrency(string $currency): self { $this->currency = $currency; return $this; } public function getFournisseur(): ?string { return $this->fournisseur; } public function setFournisseur(string $fournisseur): self { $this->fournisseur = $fournisseur; return $this; } public function getPdfName(): ?string { return $this->pdfName; } public function setPdfName(?string $pdfName): self { $this->pdfName = $pdfName; return $this; }}