src/Entity/Bois.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\BoisRepository")
  6.  */
  7. class Bois
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\ManyToOne(targetEntity="App\Entity\Agent", inversedBy="bois")
  17.      */
  18.     private $idAg;
  19.     /**
  20.      * @ORM\Column(type="string", length=255)
  21.      */
  22.     private $comptePersone;
  23.     /**
  24.      * @ORM\Column(type="string", length=255)
  25.      */
  26.     private $libelle;
  27.     /**
  28.      * @ORM\Column(type="integer")
  29.      */
  30.     private $Montant;
  31.     /**
  32.      * @ORM\Column(type="date")
  33.      */
  34.     private $dateOperation;
  35.     /**
  36.      * @ORM\Column(type="string", length=5)
  37.      */
  38.     private $unite;
  39.     /**
  40.      * @ORM\Column(type="integer")
  41.      */
  42.     private $taux;
  43.     /**
  44.      * @ORM\Column(type="string", length=255, nullable=true)
  45.      */
  46.     private $Beneficiaire;
  47.     /**
  48.      * @ORM\Column(type="string", length=255, nullable=true)
  49.      */
  50.     private $AutreDetail;
  51.     /**
  52.      * @ORM\Column(type="string", length=255)
  53.      */
  54.     private $groupeDepense;
  55.     public function getId(): ?int
  56.     {
  57.         return $this->id;
  58.     }
  59.     public function getIdAg(): ?Agent
  60.     {
  61.         return $this->idAg;
  62.     }
  63.     public function setIdAg(?Agent $idAg): self
  64.     {
  65.         $this->idAg $idAg;
  66.         return $this;
  67.     }
  68.     public function getComptePersone(): ?string
  69.     {
  70.         return $this->comptePersone;
  71.     }
  72.     public function setComptePersone(string $comptePersone): self
  73.     {
  74.         $this->comptePersone $comptePersone;
  75.         return $this;
  76.     }
  77.     public function getLibelle(): ?string
  78.     {
  79.         return $this->libelle;
  80.     }
  81.     public function setLibelle(string $libelle): self
  82.     {
  83.         $this->libelle $libelle;
  84.         return $this;
  85.     }
  86.     public function getMontant(): ?int
  87.     {
  88.         return $this->Montant;
  89.     }
  90.     public function setMontant(int $Montant): self
  91.     {
  92.         $this->Montant $Montant;
  93.         return $this;
  94.     }
  95.     public function getDateOperation(): ?\DateTimeInterface
  96.     {
  97.         return $this->dateOperation;
  98.     }
  99.     public function setDateOperation(\DateTimeInterface $dateOperation): self
  100.     {
  101.         $this->dateOperation $dateOperation;
  102.         return $this;
  103.     }
  104.     public function getUnite(): ?string
  105.     {
  106.         return $this->unite;
  107.     }
  108.     public function setUnite(string $unite): self
  109.     {
  110.         $this->unite $unite;
  111.         return $this;
  112.     }
  113.     public function getTaux(): ?int
  114.     {
  115.         return $this->taux;
  116.     }
  117.     public function setTaux(int $taux): self
  118.     {
  119.         $this->taux $taux;
  120.         return $this;
  121.     }
  122.     public function getBeneficiaire(): ?string
  123.     {
  124.         return $this->Beneficiaire;
  125.     }
  126.     public function setBeneficiaire(?string $Beneficiaire): self
  127.     {
  128.         $this->Beneficiaire $Beneficiaire;
  129.         return $this;
  130.     }
  131.     public function getAutreDetail(): ?string
  132.     {
  133.         return $this->AutreDetail;
  134.     }
  135.     public function setAutreDetail(?string $AutreDetail): self
  136.     {
  137.         $this->AutreDetail $AutreDetail;
  138.         return $this;
  139.     }
  140.     public function getGroupeDepense(): ?string
  141.     {
  142.         return $this->groupeDepense;
  143.     }
  144.     public function setGroupeDepense(string $groupeDepense): self
  145.     {
  146.         $this->groupeDepense $groupeDepense;
  147.         return $this;
  148.     }
  149. }