<?php
namespace App\Entity\FielpetPol;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
* @ORM\Table(name="auditoria_log")
*/
class AuditoriaLog
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private ?int $id = null;
/**
* @ORM\Column(name="fecha_inicio", type="datetime")
*/
private \DateTimeInterface $fechaInicio;
/**
* @ORM\Column(name="fecha_fin", type="datetime", nullable=true)
*/
private ?\DateTimeInterface $fechaFin = null;
/**
* @ORM\Column(name="emails_encontrados", type="integer")
*/
private int $emailsEncontrados = 0;
/**
* @ORM\Column(name="emails_procesados", type="integer")
*/
private int $emailsProcesados = 0;
/**
* @ORM\Column(name="emails_ignorados", type="integer")
*/
private int $emailsIgnorados = 0;
/**
* @ORM\Column(name="resultado", type="string", length=10, nullable=true)
*/
private ?string $resultado = null; // 'ok' | 'error'
/**
* @ORM\Column(name="detalle_error", type="text", nullable=true)
*/
private ?string $detalleError = null;
public function getId(): ?int { return $this->id; }
public function getFechaInicio(): \DateTimeInterface { return $this->fechaInicio; }
public function setFechaInicio(\DateTimeInterface $v): self { $this->fechaInicio = $v; return $this; }
public function getFechaFin(): ?\DateTimeInterface { return $this->fechaFin; }
public function setFechaFin(?\DateTimeInterface $v): self { $this->fechaFin = $v; return $this; }
public function getEmailsEncontrados(): int { return $this->emailsEncontrados; }
public function setEmailsEncontrados(int $v): self { $this->emailsEncontrados = $v; return $this; }
public function getEmailsProcesados(): int { return $this->emailsProcesados; }
public function setEmailsProcesados(int $v): self { $this->emailsProcesados = $v; return $this; }
public function getEmailsIgnorados(): int { return $this->emailsIgnorados; }
public function setEmailsIgnorados(int $v): self { $this->emailsIgnorados = $v; return $this; }
public function getResultado(): ?string { return $this->resultado; }
public function setResultado(?string $v): self { $this->resultado = $v; return $this; }
public function getDetalleError(): ?string { return $this->detalleError; }
public function setDetalleError(?string $v): self { $this->detalleError = $v; return $this; }
}