src/Entity/FielpetPol/AuditoriaLog.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\FielpetPol;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity()
  6. * @ORM\Table(name="auditoria_log")
  7. */
  8. class AuditoriaLog
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private ?int $id = null;
  16. /**
  17. * @ORM\Column(name="fecha_inicio", type="datetime")
  18. */
  19. private \DateTimeInterface $fechaInicio;
  20. /**
  21. * @ORM\Column(name="fecha_fin", type="datetime", nullable=true)
  22. */
  23. private ?\DateTimeInterface $fechaFin = null;
  24. /**
  25. * @ORM\Column(name="emails_encontrados", type="integer")
  26. */
  27. private int $emailsEncontrados = 0;
  28. /**
  29. * @ORM\Column(name="emails_procesados", type="integer")
  30. */
  31. private int $emailsProcesados = 0;
  32. /**
  33. * @ORM\Column(name="emails_ignorados", type="integer")
  34. */
  35. private int $emailsIgnorados = 0;
  36. /**
  37. * @ORM\Column(name="resultado", type="string", length=10, nullable=true)
  38. */
  39. private ?string $resultado = null; // 'ok' | 'error'
  40. /**
  41. * @ORM\Column(name="detalle_error", type="text", nullable=true)
  42. */
  43. private ?string $detalleError = null;
  44. public function getId(): ?int { return $this->id; }
  45. public function getFechaInicio(): \DateTimeInterface { return $this->fechaInicio; }
  46. public function setFechaInicio(\DateTimeInterface $v): self { $this->fechaInicio = $v; return $this; }
  47. public function getFechaFin(): ?\DateTimeInterface { return $this->fechaFin; }
  48. public function setFechaFin(?\DateTimeInterface $v): self { $this->fechaFin = $v; return $this; }
  49. public function getEmailsEncontrados(): int { return $this->emailsEncontrados; }
  50. public function setEmailsEncontrados(int $v): self { $this->emailsEncontrados = $v; return $this; }
  51. public function getEmailsProcesados(): int { return $this->emailsProcesados; }
  52. public function setEmailsProcesados(int $v): self { $this->emailsProcesados = $v; return $this; }
  53. public function getEmailsIgnorados(): int { return $this->emailsIgnorados; }
  54. public function setEmailsIgnorados(int $v): self { $this->emailsIgnorados = $v; return $this; }
  55. public function getResultado(): ?string { return $this->resultado; }
  56. public function setResultado(?string $v): self { $this->resultado = $v; return $this; }
  57. public function getDetalleError(): ?string { return $this->detalleError; }
  58. public function setDetalleError(?string $v): self { $this->detalleError = $v; return $this; }
  59. }