<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\BoisRepository") */class Bois{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity="App\Entity\Agent", inversedBy="bois") */ private $idAg; /** * @ORM\Column(type="string", length=255) */ private $comptePersone; /** * @ORM\Column(type="string", length=255) */ private $libelle; /** * @ORM\Column(type="integer") */ private $Montant; /** * @ORM\Column(type="date") */ private $dateOperation; /** * @ORM\Column(type="string", length=5) */ private $unite; /** * @ORM\Column(type="integer") */ private $taux; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $Beneficiaire; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $AutreDetail; /** * @ORM\Column(type="string", length=255) */ private $groupeDepense; public function getId(): ?int { return $this->id; } public function getIdAg(): ?Agent { return $this->idAg; } public function setIdAg(?Agent $idAg): self { $this->idAg = $idAg; return $this; } public function getComptePersone(): ?string { return $this->comptePersone; } public function setComptePersone(string $comptePersone): self { $this->comptePersone = $comptePersone; return $this; } public function getLibelle(): ?string { return $this->libelle; } public function setLibelle(string $libelle): self { $this->libelle = $libelle; return $this; } public function getMontant(): ?int { return $this->Montant; } public function setMontant(int $Montant): self { $this->Montant = $Montant; return $this; } public function getDateOperation(): ?\DateTimeInterface { return $this->dateOperation; } public function setDateOperation(\DateTimeInterface $dateOperation): self { $this->dateOperation = $dateOperation; return $this; } public function getUnite(): ?string { return $this->unite; } public function setUnite(string $unite): self { $this->unite = $unite; return $this; } public function getTaux(): ?int { return $this->taux; } public function setTaux(int $taux): self { $this->taux = $taux; return $this; } public function getBeneficiaire(): ?string { return $this->Beneficiaire; } public function setBeneficiaire(?string $Beneficiaire): self { $this->Beneficiaire = $Beneficiaire; return $this; } public function getAutreDetail(): ?string { return $this->AutreDetail; } public function setAutreDetail(?string $AutreDetail): self { $this->AutreDetail = $AutreDetail; return $this; } public function getGroupeDepense(): ?string { return $this->groupeDepense; } public function setGroupeDepense(string $groupeDepense): self { $this->groupeDepense = $groupeDepense; return $this; }}