src/Entity/FielpetPol/SolicitudAuditoria.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(repositoryClass="App\Repository\FielpetPol\SolicitudAuditoriaRepository")
  6. * @ORM\Table(name="solicitudes_auditoria")
  7. */
  8. class SolicitudAuditoria
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private ?int $id = null;
  16. /**
  17. * @ORM\Column(name="message_id", type="string", length=255, unique=true)
  18. */
  19. private string $messageId;
  20. /**
  21. * @ORM\Column(name="nro_siniestro", type="string", length=50)
  22. */
  23. private string $nroSiniestro;
  24. /**
  25. * @ORM\Column(name="email_remitente", type="string", length=255)
  26. */
  27. private string $emailRemitente;
  28. /**
  29. * @ORM\Column(type="string", length=500)
  30. */
  31. private string $asunto;
  32. /**
  33. * @ORM\Column(type="string", length=255, nullable=true)
  34. */
  35. private ?string $firmante = null;
  36. /**
  37. * @ORM\Column(name="fecha_email", type="datetime")
  38. */
  39. private \DateTimeInterface $fechaEmail;
  40. /**
  41. * @ORM\Column(name="fecha_procesado", type="datetime")
  42. */
  43. private \DateTimeInterface $fechaProcesado;
  44. // ========== GETTERS & SETTERS ==========
  45. public function getId(): ?int { return $this->id; }
  46. public function getMessageId(): string { return $this->messageId; }
  47. public function setMessageId(string $messageId): self {
  48. $this->messageId = $messageId;
  49. return $this;
  50. }
  51. public function getNroSiniestro(): string { return $this->nroSiniestro; }
  52. public function setNroSiniestro(string $nroSiniestro): self {
  53. $this->nroSiniestro = $nroSiniestro;
  54. return $this;
  55. }
  56. public function getEmailRemitente(): string { return $this->emailRemitente; }
  57. public function setEmailRemitente(string $emailRemitente): self {
  58. $this->emailRemitente = $emailRemitente;
  59. return $this;
  60. }
  61. public function getAsunto(): string { return $this->asunto; }
  62. public function setAsunto(string $asunto): self {
  63. $this->asunto = $asunto;
  64. return $this;
  65. }
  66. public function getFirmante(): ?string { return $this->firmante; }
  67. public function setFirmante(?string $firmante): self {
  68. $this->firmante = $firmante;
  69. return $this;
  70. }
  71. public function getFechaEmail(): \DateTimeInterface { return $this->fechaEmail; }
  72. public function setFechaEmail(\DateTimeInterface $fechaEmail): self {
  73. $this->fechaEmail = $fechaEmail;
  74. return $this;
  75. }
  76. public function getFechaProcesado(): \DateTimeInterface { return $this->fechaProcesado; }
  77. public function setFechaProcesado(\DateTimeInterface $fechaProcesado): self {
  78. $this->fechaProcesado = $fechaProcesado;
  79. return $this;
  80. }
  81. }