src/Entity/Fielpet/View/EstudioView.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fielpet\View;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * EstudioView
  7. *
  8. * @ORM\Table(name="estudio_view")
  9. * @ORM\Entity
  10. * @ORM\Entity(repositoryClass="App\Repository\Fielpet\View\EstudioViewRepository")
  11. */
  12. class EstudioView
  13. {
  14. /**
  15. * @var int
  16. *
  17. * @ORM\Column(name="id", type="integer", nullable=false)
  18. * @ORM\Id
  19. */
  20. private $id;
  21. /**
  22. * @var string|null
  23. *
  24. * @ORM\Column(name="tipo_estudio", type="string", length=255, nullable=true)
  25. */
  26. private $tipoEstudio;
  27. /**
  28. * @var \DateTime
  29. *
  30. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  31. */
  32. private $createdAt;
  33. /**
  34. * @var \DateTime
  35. *
  36. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  37. */
  38. private $updatedAt;
  39. /**
  40. * @return int
  41. */
  42. public function getId(): int
  43. {
  44. return $this->id;
  45. }
  46. /**
  47. * @param int $id
  48. */
  49. public function setId(int $id): void
  50. {
  51. $this->id = $id;
  52. }
  53. /**
  54. * @return string|null
  55. */
  56. public function getTipoEstudio(): ?string
  57. {
  58. return $this->tipoEstudio;
  59. }
  60. /**
  61. * @param string|null $tipoEstudio
  62. */
  63. public function setTipoEstudio(?string $tipoEstudio): void
  64. {
  65. $this->tipoEstudio = $tipoEstudio;
  66. }
  67. /**
  68. * @return \DateTime
  69. */
  70. public function getCreatedAt(): \DateTime
  71. {
  72. return $this->createdAt;
  73. }
  74. /**
  75. * @param \DateTime $createdAt
  76. */
  77. public function setCreatedAt(\DateTime $createdAt): void
  78. {
  79. $this->createdAt = $createdAt;
  80. }
  81. /**
  82. * @return \DateTime
  83. */
  84. public function getUpdatedAt(): \DateTime
  85. {
  86. return $this->updatedAt;
  87. }
  88. /**
  89. * @param \DateTime $updatedAt
  90. */
  91. public function setUpdatedAt(\DateTime $updatedAt): void
  92. {
  93. $this->updatedAt = $updatedAt;
  94. }
  95. }