src/Entity/Commission.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CommissionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CommissionRepository::class)
  7.  */
  8. class Commission
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="decimal", precision=10, scale=2)
  18.      */
  19.     private $montant;
  20.     
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getMontant(): ?string
  26.     {
  27.         return $this->montant;
  28.     }
  29.     public function setMontant(string $montant): self
  30.     {
  31.         $this->montant $montant;
  32.         return $this;
  33.     }
  34. }