<?php
namespace App\Entity\FielpetPol;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\FielpetPol\SolicitudAuditoriaRepository")
* @ORM\Table(name="solicitudes_auditoria")
*/
class SolicitudAuditoria
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private ?int $id = null;
/**
* @ORM\Column(name="message_id", type="string", length=255, unique=true)
*/
private string $messageId;
/**
* @ORM\Column(name="nro_siniestro", type="string", length=50)
*/
private string $nroSiniestro;
/**
* @ORM\Column(name="email_remitente", type="string", length=255)
*/
private string $emailRemitente;
/**
* @ORM\Column(type="string", length=500)
*/
private string $asunto;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $firmante = null;
/**
* @ORM\Column(name="fecha_email", type="datetime")
*/
private \DateTimeInterface $fechaEmail;
/**
* @ORM\Column(name="fecha_procesado", type="datetime")
*/
private \DateTimeInterface $fechaProcesado;
// ========== GETTERS & SETTERS ==========
public function getId(): ?int { return $this->id; }
public function getMessageId(): string { return $this->messageId; }
public function setMessageId(string $messageId): self {
$this->messageId = $messageId;
return $this;
}
public function getNroSiniestro(): string { return $this->nroSiniestro; }
public function setNroSiniestro(string $nroSiniestro): self {
$this->nroSiniestro = $nroSiniestro;
return $this;
}
public function getEmailRemitente(): string { return $this->emailRemitente; }
public function setEmailRemitente(string $emailRemitente): self {
$this->emailRemitente = $emailRemitente;
return $this;
}
public function getAsunto(): string { return $this->asunto; }
public function setAsunto(string $asunto): self {
$this->asunto = $asunto;
return $this;
}
public function getFirmante(): ?string { return $this->firmante; }
public function setFirmante(?string $firmante): self {
$this->firmante = $firmante;
return $this;
}
public function getFechaEmail(): \DateTimeInterface { return $this->fechaEmail; }
public function setFechaEmail(\DateTimeInterface $fechaEmail): self {
$this->fechaEmail = $fechaEmail;
return $this;
}
public function getFechaProcesado(): \DateTimeInterface { return $this->fechaProcesado; }
public function setFechaProcesado(\DateTimeInterface $fechaProcesado): self {
$this->fechaProcesado = $fechaProcesado;
return $this;
}
}