src/Entity/TopeGas.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TopeGasRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=TopeGasRepository::class)
  7.  */
  8. class TopeGas
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="date", nullable=true)
  18.      */
  19.     private $fecha;
  20.     /**
  21.      * @ORM\Column(type="decimal", precision=13, scale=10, nullable=true)
  22.      */
  23.     private $importe;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getFecha(): ?\DateTimeInterface
  29.     {
  30.         return $this->fecha;
  31.     }
  32.     public function setFecha(?\DateTimeInterface $fecha): self
  33.     {
  34.         $this->fecha $fecha;
  35.         return $this;
  36.     }
  37.     public function getImporte(): ?string
  38.     {
  39.         return $this->importe;
  40.     }
  41.     public function setImporte(?string $importe): self
  42.     {
  43.         $this->importe $importe;
  44.         return $this;
  45.     }
  46. }