src/Entity/MuestraInteresUsuarioNoRegistrado.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. /**
  7. * @ORM\Entity
  8. * @ORM\Table(name="muestra_interes_usuario_no_registrado")
  9. */
  10. class MuestraInteresUsuarioNoRegistrado extends \App\Entity\BaseEntity
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\Column(type="integer")
  15. * @ORM\GeneratedValue(strategy="AUTO")
  16. */
  17. private $id;
  18. /**
  19. * @ORM\Column(type="string", length=255, nullable=false)
  20. */
  21. private $nombre;
  22. /**
  23. * @ORM\Column(type="string", length=255, nullable=false)
  24. */
  25. private $email;
  26. /**
  27. * @ORM\Column(type="string", length=20, nullable=true)
  28. */
  29. private $telefono;
  30. /**
  31. * @ORM\Column(type="string", length=20, nullable=false)
  32. */
  33. private $dni;
  34. /**
  35. * @ORM\ManyToOne(targetEntity=\App\Entity\SolicitudAccionFormativa::class)
  36. * @ORM\JoinColumn(name="solicitud_accion_formativa_id", referencedColumnName="id", nullable=true)
  37. */
  38. private $solicitudAccionFormativa;
  39. /**
  40. * @ORM\ManyToOne(targetEntity=\App\Entity\Grupo::class)
  41. * @ORM\JoinColumn(name="grupo_id", referencedColumnName="id", nullable=true)
  42. */
  43. private $grupo;
  44. /**
  45. * @ORM\Column(type="datetime", nullable=false, name="created_at")
  46. * @Gedmo\Timestampable(on="create")
  47. */
  48. private $createdAt;
  49. /**
  50. * @ORM\Column(type="text", nullable=true)
  51. */
  52. private $comentario;
  53. public function getId(): ?int
  54. {
  55. return $this->id;
  56. }
  57. public function getNombre(): ?string
  58. {
  59. return $this->nombre;
  60. }
  61. public function setNombre(string $nombre): self
  62. {
  63. $this->nombre = $nombre;
  64. return $this;
  65. }
  66. public function getEmail(): ?string
  67. {
  68. return $this->email;
  69. }
  70. public function setEmail(string $email): self
  71. {
  72. $this->email = $email;
  73. return $this;
  74. }
  75. public function getTelefono(): ?string
  76. {
  77. return $this->telefono;
  78. }
  79. public function setTelefono(?string $telefono): self
  80. {
  81. $this->telefono = $telefono;
  82. return $this;
  83. }
  84. public function getDni(): ?string
  85. {
  86. return $this->dni;
  87. }
  88. public function setDni(string $dni): self
  89. {
  90. $this->dni = $dni;
  91. return $this;
  92. }
  93. public function getSolicitudAccionFormativa(): ?SolicitudAccionFormativa
  94. {
  95. return $this->solicitudAccionFormativa;
  96. }
  97. public function setSolicitudAccionFormativa(?SolicitudAccionFormativa $solicitudAccionFormativa): self
  98. {
  99. $this->solicitudAccionFormativa = $solicitudAccionFormativa;
  100. return $this;
  101. }
  102. public function getGrupo(): ?Grupo
  103. {
  104. return $this->grupo;
  105. }
  106. public function setGrupo(?Grupo $grupo): self
  107. {
  108. $this->grupo = $grupo;
  109. return $this;
  110. }
  111. public function getCreatedAt(): ?\DateTimeInterface
  112. {
  113. return $this->createdAt;
  114. }
  115. public function setCreatedAt(\DateTimeInterface $createdAt): self
  116. {
  117. $this->createdAt = $createdAt;
  118. return $this;
  119. }
  120. public function getComentario(): ?string
  121. {
  122. return $this->comentario;
  123. }
  124. public function setComentario(?string $comentario): self
  125. {
  126. $this->comentario = $comentario;
  127. return $this;
  128. }
  129. }