<?php
namespace App\Entity;
use App\Repository\HonoraireDetFixeRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HonoraireDetFixeRepository::class)]
class HonoraireDetFixe
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'honoraireDetFixes')]
private ?LContract $contract = null;
#[ORM\Column(nullable: true)]
private ?float $montant = null;
#[ORM\Column(nullable: true)]
private ?float $montantDevise = null;
#[ORM\Column(nullable: true)]
private ?float $ir = null;
#[ORM\Column(nullable: true)]
private ?float $irDevise = null;
#[ORM\Column(nullable: true)]
private ?float $brute = null;
#[ORM\Column(nullable: true)]
private ?float $bruteDevise = null;
#[ORM\ManyToOne(inversedBy: 'honoraireDetFixes')]
private ?Users $userCreated = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $created = null;
#[ORM\Column(nullable: true)]
private ?bool $active = true;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateDebut = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateFin = null;
public function getId(): ?int
{
return $this->id;
}
public function getContract(): ?LContract
{
return $this->contract;
}
public function setContract(?LContract $contract): static
{
$this->contract = $contract;
return $this;
}
public function getMontant(): ?float
{
return $this->montant;
}
public function setMontant(?float $montant): static
{
$this->montant = $montant;
return $this;
}
public function getMontantDevise(): ?float
{
return $this->montantDevise;
}
public function setMontantDevise(?float $montantDevise): static
{
$this->montantDevise = $montantDevise;
return $this;
}
public function getIr(): ?float
{
return $this->ir;
}
public function setIr(?float $ir): static
{
$this->ir = $ir;
return $this;
}
public function getIrDevise(): ?float
{
return $this->irDevise;
}
public function setIrDevise(?float $irDevise): static
{
$this->irDevise = $irDevise;
return $this;
}
public function getBrute(): ?float
{
return $this->brute;
}
public function setBrute(?float $brute): static
{
$this->brute = $brute;
return $this;
}
public function getBruteDevise(): ?float
{
return $this->bruteDevise;
}
public function setBruteDevise(?float $bruteDevise): static
{
$this->bruteDevise = $bruteDevise;
return $this;
}
public function getUserCreated(): ?Users
{
return $this->userCreated;
}
public function setUserCreated(?Users $userCreated): static
{
$this->userCreated = $userCreated;
return $this;
}
public function getCreated(): ?\DateTimeInterface
{
return $this->created;
}
public function setCreated(?\DateTimeInterface $created): static
{
$this->created = $created;
return $this;
}
public function isActive(): ?bool
{
return $this->active;
}
public function setActive(?bool $active): static
{
$this->active = $active;
return $this;
}
public function getDateDebut(): ?\DateTimeInterface
{
return $this->dateDebut;
}
public function setDateDebut(?\DateTimeInterface $dateDebut): static
{
$this->dateDebut = $dateDebut;
return $this;
}
public function getDateFin(): ?\DateTimeInterface
{
return $this->dateFin;
}
public function setDateFin(?\DateTimeInterface $dateFin): static
{
$this->dateFin = $dateFin;
return $this;
}
}