src/Entity/FormularioRespuestas.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity
  7. */
  8. class FormularioRespuestas
  9. {
  10. const ACEPTADO = 'Aceptado';
  11. const RECHAZADO = 'Rechazado';
  12. const PENDIENTE = 'Pendiente';
  13. /**
  14. * @ORM\Id
  15. * @ORM\Column(type="integer")
  16. * @ORM\GeneratedValue(strategy="AUTO")
  17. */
  18. private $id;
  19. /**
  20. * @ORM\Column(type="string", nullable=true)
  21. */
  22. private $titulo;
  23. /**
  24. * @ORM\Column(type="string", nullable=true)
  25. */
  26. private $nombreUsuario;
  27. /**
  28. * @ORM\Column(type="text", nullable=true)
  29. */
  30. private $jsonformulario;
  31. /**
  32. * @ORM\Column(type="integer", nullable=true)
  33. */
  34. private $estadoFinal;
  35. /**
  36. * @ORM\Column(type="string", nullable=true)
  37. */
  38. private $imagen;
  39. /**
  40. * @ORM\Column(type="datetime", nullable=true)
  41. */
  42. private $fecha;
  43. /**
  44. * @ORM\Column(type="text", nullable=true)
  45. */
  46. private $comentarioFinal;
  47. /**
  48. * @ORM\Column(type="text", nullable=true)
  49. */
  50. private $comentario1;
  51. /**
  52. * @ORM\Column(type="text", nullable=true)
  53. */
  54. private $comentario2;
  55. /**
  56. * @ORM\Column(type="text", nullable=true)
  57. */
  58. private $comentario3;
  59. /**
  60. * @ORM\Column(type="integer", nullable=true)
  61. */
  62. private $estadoAprobacion1;
  63. /**
  64. * @ORM\Column(type="integer", nullable=true)
  65. */
  66. private $estadoAprobacion2;
  67. /**
  68. * @ORM\Column(type="integer", nullable=true)
  69. */
  70. private $estadoAprobacion3;
  71. /**
  72. * @ORM\Column(type="datetime", nullable=true)
  73. */
  74. private $fechaEstado1;
  75. /**
  76. * @ORM\Column(type="datetime", nullable=true)
  77. */
  78. private $fechaEstado2;
  79. /**
  80. * @ORM\Column(type="datetime", nullable=true)
  81. */
  82. private $fechaEstado3;
  83. /**
  84. * @ORM\Column(type="text", nullable=true)
  85. */
  86. private $observacionePublicas;
  87. /**
  88. * @ORM\Column(type="integer", nullable=true)
  89. */
  90. private $IdFormulario;
  91. /**
  92. * @ORM\Column(type="text", nullable=true)
  93. */
  94. private $observacionesPublicas;
  95. /**
  96. * @ORM\ManyToOne(targetEntity=\App\Entity\Formulario::class, inversedBy="formularioRespuestas")
  97. * @ORM\JoinColumn(name="formulario_id", referencedColumnName="id")
  98. */
  99. private $formulario;
  100. /**
  101. * @ORM\ManyToOne(targetEntity=\App\Entity\Evento::class, inversedBy="formularioRespuestas")
  102. * @ORM\JoinColumn(name="evento_id", referencedColumnName="id")
  103. */
  104. private $evento;
  105. /**
  106. * @ORM\ManyToOne(targetEntity=\App\Entity\PropietarioContenido::class, inversedBy="formularioRespuestas")
  107. * @ORM\JoinColumn(name="propietario_contenido_id", referencedColumnName="id")
  108. */
  109. private $propietarioContenido;
  110. /**
  111. * @ORM\ManyToOne(
  112. * targetEntity=\App\Entity\PropietarioContenido::class,
  113. * inversedBy="formularioRespuestasAprobador1"
  114. * )
  115. * @ORM\JoinColumn(name="propietario_contenido_aprobador_1", referencedColumnName="id")
  116. */
  117. private $aprobador1;
  118. /**
  119. * @ORM\ManyToOne(
  120. * targetEntity=\App\Entity\PropietarioContenido::class,
  121. * inversedBy="formularioRespuestasAprobador2"
  122. * )
  123. * @ORM\JoinColumn(name="propietario_contenido_aprobador_2", referencedColumnName="id")
  124. */
  125. private $aprobador2;
  126. /**
  127. * @ORM\ManyToOne(
  128. * targetEntity=\App\Entity\PropietarioContenido::class,
  129. * inversedBy="formularioRespuestasAprobador3"
  130. * )
  131. * @ORM\JoinColumn(name="propietario_contenido_aprobador_3", referencedColumnName="id")
  132. */
  133. private $aprobador3;
  134. public function getId(): ?int
  135. {
  136. return $this->id;
  137. }
  138. public function setId($id)
  139. {
  140. $this->id = $id;
  141. return $this;
  142. }
  143. public function getTitulo(): ?string
  144. {
  145. return $this->titulo;
  146. }
  147. public function setTitulo(?string $titulo): static
  148. {
  149. $this->titulo = $titulo;
  150. return $this;
  151. }
  152. public function getNombreUsuario(): ?string
  153. {
  154. return $this->nombreUsuario;
  155. }
  156. public function setNombreUsuario(?string $nombreUsuario): static
  157. {
  158. $this->nombreUsuario = $nombreUsuario;
  159. return $this;
  160. }
  161. public function getJsonformulario(): ?string
  162. {
  163. return $this->jsonformulario;
  164. }
  165. public function setJsonformulario(?string $jsonformulario): static
  166. {
  167. $this->jsonformulario = $jsonformulario;
  168. return $this;
  169. }
  170. public function getEstadoFinal(): ?int
  171. {
  172. return $this->estadoFinal;
  173. }
  174. public function setEstadoFinal(?int $estadoFinal): static
  175. {
  176. $this->estadoFinal = $estadoFinal;
  177. return $this;
  178. }
  179. public function getImagen(): ?string
  180. {
  181. return $this->imagen;
  182. }
  183. public function setImagen(?string $imagen): static
  184. {
  185. $this->imagen = $imagen;
  186. return $this;
  187. }
  188. public function getFecha(): ?\DateTimeInterface
  189. {
  190. return $this->fecha;
  191. }
  192. public function setFecha(?\DateTimeInterface $fecha): static
  193. {
  194. $this->fecha = $fecha;
  195. return $this;
  196. }
  197. public function getComentarioFinal(): ?string
  198. {
  199. return $this->comentarioFinal;
  200. }
  201. public function setComentarioFinal(?string $comentarioFinal): static
  202. {
  203. $this->comentarioFinal = $comentarioFinal;
  204. return $this;
  205. }
  206. public function getComentario1(): ?string
  207. {
  208. return $this->comentario1;
  209. }
  210. public function setComentario1(?string $comentario1): static
  211. {
  212. $this->comentario1 = $comentario1;
  213. return $this;
  214. }
  215. public function getComentario2(): ?string
  216. {
  217. return $this->comentario2;
  218. }
  219. public function setComentario2(?string $comentario2): static
  220. {
  221. $this->comentario2 = $comentario2;
  222. return $this;
  223. }
  224. public function getComentario3(): ?string
  225. {
  226. return $this->comentario3;
  227. }
  228. public function setComentario3(?string $comentario3): static
  229. {
  230. $this->comentario3 = $comentario3;
  231. return $this;
  232. }
  233. public function getEstadoAprobacion1(): ?int
  234. {
  235. return $this->estadoAprobacion1;
  236. }
  237. public function setEstadoAprobacion1(?int $estadoAprobacion1): static
  238. {
  239. $this->estadoAprobacion1 = $estadoAprobacion1;
  240. return $this;
  241. }
  242. public function getEstadoAprobacion2(): ?int
  243. {
  244. return $this->estadoAprobacion2;
  245. }
  246. public function setEstadoAprobacion2(?int $estadoAprobacion2): static
  247. {
  248. $this->estadoAprobacion2 = $estadoAprobacion2;
  249. return $this;
  250. }
  251. public function getEstadoAprobacion3(): ?int
  252. {
  253. return $this->estadoAprobacion3;
  254. }
  255. public function setEstadoAprobacion3(?int $estadoAprobacion3): static
  256. {
  257. $this->estadoAprobacion3 = $estadoAprobacion3;
  258. return $this;
  259. }
  260. public function getFechaEstado1(): ?\DateTimeInterface
  261. {
  262. return $this->fechaEstado1;
  263. }
  264. public function setFechaEstado1(?\DateTimeInterface $fechaEstado1): static
  265. {
  266. $this->fechaEstado1 = $fechaEstado1;
  267. return $this;
  268. }
  269. public function getFechaEstado2(): ?\DateTimeInterface
  270. {
  271. return $this->fechaEstado2;
  272. }
  273. public function setFechaEstado2(?\DateTimeInterface $fechaEstado2): static
  274. {
  275. $this->fechaEstado2 = $fechaEstado2;
  276. return $this;
  277. }
  278. public function getFechaEstado3(): ?\DateTimeInterface
  279. {
  280. return $this->fechaEstado3;
  281. }
  282. public function setFechaEstado3(?\DateTimeInterface $fechaEstado3): static
  283. {
  284. $this->fechaEstado3 = $fechaEstado3;
  285. return $this;
  286. }
  287. public function getObservacionePublicas(): ?string
  288. {
  289. return $this->observacionePublicas;
  290. }
  291. public function setObservacionePublicas(?string $observacionePublicas): static
  292. {
  293. $this->observacionePublicas = $observacionePublicas;
  294. return $this;
  295. }
  296. public function getIdFormulario(): ?int
  297. {
  298. return $this->IdFormulario;
  299. }
  300. public function setIdFormulario(?int $IdFormulario): static
  301. {
  302. $this->IdFormulario = $IdFormulario;
  303. return $this;
  304. }
  305. public function getObservacionesPublicas(): ?string
  306. {
  307. return $this->observacionesPublicas;
  308. }
  309. public function setObservacionesPublicas(?string $observacionesPublicas): static
  310. {
  311. $this->observacionesPublicas = $observacionesPublicas;
  312. return $this;
  313. }
  314. public function getFormulario(): ?Formulario
  315. {
  316. return $this->formulario;
  317. }
  318. public function setFormulario(?Formulario $formulario): static
  319. {
  320. $this->formulario = $formulario;
  321. return $this;
  322. }
  323. public function getEvento(): ?Evento
  324. {
  325. return $this->evento;
  326. }
  327. public function setEvento(?Evento $evento): static
  328. {
  329. $this->evento = $evento;
  330. return $this;
  331. }
  332. public function getPropietarioContenido(): ?PropietarioContenido
  333. {
  334. return $this->propietarioContenido;
  335. }
  336. public function setPropietarioContenido(?PropietarioContenido $propietarioContenido): static
  337. {
  338. $this->propietarioContenido = $propietarioContenido;
  339. return $this;
  340. }
  341. public function getAprobador1(): ?PropietarioContenido
  342. {
  343. return $this->aprobador1;
  344. }
  345. public function setAprobador1(?PropietarioContenido $aprobador1): static
  346. {
  347. $this->aprobador1 = $aprobador1;
  348. return $this;
  349. }
  350. public function getAprobador2(): ?PropietarioContenido
  351. {
  352. return $this->aprobador2;
  353. }
  354. public function setAprobador2(?PropietarioContenido $aprobador2): static
  355. {
  356. $this->aprobador2 = $aprobador2;
  357. return $this;
  358. }
  359. public function getAprobador3(): ?PropietarioContenido
  360. {
  361. return $this->aprobador3;
  362. }
  363. public function setAprobador3(?PropietarioContenido $aprobador3): static
  364. {
  365. $this->aprobador3 = $aprobador3;
  366. return $this;
  367. }
  368. }