<?php
namespace App\Entity;
use App\Repository\TopeGasRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=TopeGasRepository::class)
*/
class TopeGas
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="date", nullable=true)
*/
private $fecha;
/**
* @ORM\Column(type="decimal", precision=13, scale=10, nullable=true)
*/
private $importe;
public function getId(): ?int
{
return $this->id;
}
public function getFecha(): ?\DateTimeInterface
{
return $this->fecha;
}
public function setFecha(?\DateTimeInterface $fecha): self
{
$this->fecha = $fecha;
return $this;
}
public function getImporte(): ?string
{
return $this->importe;
}
public function setImporte(?string $importe): self
{
$this->importe = $importe;
return $this;
}
}