<?phpnamespace App\Entity;use App\Repository\ReglementFactureEntrepriseRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ReglementFactureEntrepriseRepository::class) */class ReglementFactureEntreprise{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=ReglementEntreprise::class, inversedBy="reglementFactureEntreprises") */ private $reglemententreprise; /** * @ORM\ManyToOne(targetEntity=EnteteFacture::class) */ private $entetefacture; /** * @ORM\Column(type="float", nullable=true) */ private $montantregle; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $created_at; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $updated_at; public function __construct() { $this->lignefacture = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getReglemententreprise(): ?ReglementEntreprise { return $this->reglemententreprise; } public function setReglemententreprise(?ReglementEntreprise $reglemententreprise): self { $this->reglemententreprise = $reglemententreprise; return $this; } public function getEntetefacture(): ?EnteteFacture { return $this->entetefacture; } public function setEntetefacture(?EnteteFacture $entetefacture): self { $this->entetefacture = $entetefacture; return $this; } public function getMontantregle(): ?float { return $this->montantregle; } public function setMontantregle(?float $montantregle): self { $this->montantregle = $montantregle; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->created_at; } public function setCreatedAt(?\DateTimeImmutable $created_at): self { $this->created_at = $created_at; return $this; } public function getUpdatedAt(): ?\DateTimeImmutable { return $this->updated_at; } public function setUpdatedAt(?\DateTimeImmutable $updated_at): self { $this->updated_at = $updated_at; return $this; }}