<?php
namespace App\Entity;
use App\Repository\MantencionPeriodoRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MantencionPeriodoRepository::class)]
class MantencionPeriodo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id = null;
#[ORM\Column(type: 'smallint')]
private ?int $mes = null;
#[ORM\Column(type: 'smallint')]
private ?int $ano = null;
#[ORM\Column(type: 'datetime')]
private ?\DateTimeInterface $fechaDesde = null;
#[ORM\Column(type: 'datetime')]
private ?\DateTimeInterface $fechaHasta = null;
public function getId(): ?int
{
return $this->id;
}
public function getMes(): ?int
{
return $this->mes;
}
public function setMes(int $mes): self
{
$this->mes = $mes;
return $this;
}
public function getAno(): ?int
{
return $this->ano;
}
public function setAno(int $ano): self
{
$this->ano = $ano;
return $this;
}
public function getFechaDesde(): ?\DateTimeInterface
{
return $this->fechaDesde;
}
public function setFechaDesde(\DateTimeInterface $fechaDesde): self
{
$this->fechaDesde = $fechaDesde;
return $this;
}
public function getFechaHasta(): ?\DateTimeInterface
{
return $this->fechaHasta;
}
public function setFechaHasta(\DateTimeInterface $fechaHasta): self
{
$this->fechaHasta = $fechaHasta;
return $this;
}
}