<?php
namespace App\Entity;
use App\Repository\HistoriquepaiementsdevisRepository;
use DateTimeInterface;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HistoriquepaiementsdevisRepository::class)]
class Historiquepaiementsdevis
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $montant = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $acompte = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $reste = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?DateTimeInterface $date = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $piecejointe = null;
#[ORM\ManyToOne(inversedBy: 'historiquepaiementsdevis')]
private ?Paymentdevi $paymentdevi = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $description = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $modedepaiement = null; #[ORM\Column(length: 255, nullable: true)] private ?string $num = null; #[ORM\Column(length: 255, nullable: true)] private ?string $remise = null;
public function getId(): ?int
{
return $this->id;
}
public function getMontant(): ?string
{
return $this->montant;
}
public function setMontant(?string $montant): static
{
$this->montant = $montant;
return $this;
}
public function getAcompte(): ?string
{
return $this->acompte;
}
public function setAcompte(?string $acompte): static
{
$this->acompte = $acompte;
return $this;
}
public function getReste(): ?string
{
return $this->reste;
}
public function setReste(?string $reste): static
{
$this->reste = $reste;
return $this;
}
public function getDate(): ?DateTimeInterface
{
return $this->date;
}
public function setDate(DateTimeInterface $date): static
{
$this->date = $date;
return $this;
}
public function getPiecejointe(): ?string
{
return $this->piecejointe;
}
public function setPiecejointe(?string $piecejointe): static
{
$this->piecejointe = $piecejointe;
return $this;
}
public function getPaymentdevi(): ?Paymentdevi
{
return $this->paymentdevi;
}
public function setPaymentdevi(?Paymentdevi $paymentdevi): static
{
$this->paymentdevi = $paymentdevi;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): static
{
$this->description = $description;
return $this;
}
public function getModedepaiement(): ?string
{
return $this->modedepaiement;
}
public function setModedepaiement(?string $modedepaiement): static
{
$this->modedepaiement = $modedepaiement;
return $this;
} public function getNum(): ?string { return $this->num; } public function setNum(?string $num): self { $this->num = $num; return $this; } public function getRemise(): ?string { return $this->remise; } public function setRemise(?string $remise): self { $this->remise = $remise; return $this; }
}