<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity
* @ORM\Table(name="muestra_interes_usuario_no_registrado")
*/
class MuestraInteresUsuarioNoRegistrado extends \App\Entity\BaseEntity
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=false)
*/
private $nombre;
/**
* @ORM\Column(type="string", length=255, nullable=false)
*/
private $email;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $telefono;
/**
* @ORM\Column(type="string", length=20, nullable=false)
*/
private $dni;
/**
* @ORM\ManyToOne(targetEntity=\App\Entity\SolicitudAccionFormativa::class)
* @ORM\JoinColumn(name="solicitud_accion_formativa_id", referencedColumnName="id", nullable=true)
*/
private $solicitudAccionFormativa;
/**
* @ORM\ManyToOne(targetEntity=\App\Entity\Grupo::class)
* @ORM\JoinColumn(name="grupo_id", referencedColumnName="id", nullable=true)
*/
private $grupo;
/**
* @ORM\Column(type="datetime", nullable=false, name="created_at")
* @Gedmo\Timestampable(on="create")
*/
private $createdAt;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $comentario;
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getTelefono(): ?string
{
return $this->telefono;
}
public function setTelefono(?string $telefono): self
{
$this->telefono = $telefono;
return $this;
}
public function getDni(): ?string
{
return $this->dni;
}
public function setDni(string $dni): self
{
$this->dni = $dni;
return $this;
}
public function getSolicitudAccionFormativa(): ?SolicitudAccionFormativa
{
return $this->solicitudAccionFormativa;
}
public function setSolicitudAccionFormativa(?SolicitudAccionFormativa $solicitudAccionFormativa): self
{
$this->solicitudAccionFormativa = $solicitudAccionFormativa;
return $this;
}
public function getGrupo(): ?Grupo
{
return $this->grupo;
}
public function setGrupo(?Grupo $grupo): self
{
$this->grupo = $grupo;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getComentario(): ?string
{
return $this->comentario;
}
public function setComentario(?string $comentario): self
{
$this->comentario = $comentario;
return $this;
}
}