src/Entity/Fielpet/View/RazasView.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. * RazasView
  7. *
  8. * @ORM\Table(name="razas_view")
  9. * @ORM\Entity}
  10. * @ORM\Entity(repositoryClass="App\Repository\Fielpet\View\RazasViewRepository")
  11. */
  12. class RazasView
  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
  23. *
  24. * @ORM\Column(name="nombre", type="string", length=255, nullable=false)
  25. */
  26. private $nombre;
  27. /**
  28. * @var string
  29. *
  30. * @ORM\Column(name="animal", type="string", length=255, nullable=false)
  31. */
  32. private $animal;
  33. /**
  34. * @var \DateTime
  35. *
  36. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  37. */
  38. private $createdAt;
  39. /**
  40. * @var \DateTime
  41. *
  42. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  43. */
  44. private $updatedAt;
  45. /**
  46. * @return int
  47. */
  48. public function getId(): int
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * @param int $id
  54. */
  55. public function setId(int $id): void
  56. {
  57. $this->id = $id;
  58. }
  59. /**
  60. * @return string
  61. */
  62. public function getNombre(): string
  63. {
  64. return $this->nombre;
  65. }
  66. /**
  67. * @param string $nombre
  68. */
  69. public function setNombre(string $nombre): void
  70. {
  71. $this->nombre = $nombre;
  72. }
  73. /**
  74. * @return string
  75. */
  76. public function getAnimal(): string
  77. {
  78. return $this->animal;
  79. }
  80. /**
  81. * @param string $animal
  82. */
  83. public function setAnimal(string $animal): void
  84. {
  85. $this->animal = $animal;
  86. }
  87. /**
  88. * @return \DateTime
  89. */
  90. public function getCreatedAt(): \DateTime
  91. {
  92. return $this->createdAt;
  93. }
  94. /**
  95. * @param \DateTime $createdAt
  96. */
  97. public function setCreatedAt(\DateTime $createdAt): void
  98. {
  99. $this->createdAt = $createdAt;
  100. }
  101. /**
  102. * @return \DateTime
  103. */
  104. public function getUpdatedAt(): \DateTime
  105. {
  106. return $this->updatedAt;
  107. }
  108. /**
  109. * @param \DateTime $updatedAt
  110. */
  111. public function setUpdatedAt(\DateTime $updatedAt): void
  112. {
  113. $this->updatedAt = $updatedAt;
  114. }
  115. }