src/Entity/Fielpet/View/DatosextraView.php line 13

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. * Datosextra
  7. *
  8. * @ORM\Table(name="DatosExtra")
  9. * @ORM\Entity
  10. */
  11. class Datosextra
  12. {
  13. /**
  14. * @var int
  15. *
  16. * @ORM\Column(name="id", type="integer", nullable=false)
  17. * @ORM\Id
  18. * @ORM\GeneratedValue(strategy="SEQUENCE")
  19. * @ORM\SequenceGenerator(sequenceName="DatosExtra_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="nombre", type="string", length=255, nullable=true)
  26. */
  27. private $nombre;
  28. /**
  29. * @var string|null
  30. *
  31. * @ORM\Column(name="valor", type="string", length=255, nullable=true)
  32. */
  33. private $valor;
  34. /**
  35. * @var \DateTime
  36. *
  37. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  38. */
  39. private $createdat;
  40. /**
  41. * @var \DateTime
  42. *
  43. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  44. */
  45. private $updatedat;
  46. public function getId(): ?int
  47. {
  48. return $this->id;
  49. }
  50. public function getNombre(): ?string
  51. {
  52. return $this->nombre;
  53. }
  54. public function setNombre(?string $nombre): self
  55. {
  56. $this->nombre = $nombre;
  57. return $this;
  58. }
  59. public function getValor(): ?string
  60. {
  61. return $this->valor;
  62. }
  63. public function setValor(?string $valor): self
  64. {
  65. $this->valor = $valor;
  66. return $this;
  67. }
  68. public function getCreatedat(): ?\DateTimeInterface
  69. {
  70. return $this->createdat;
  71. }
  72. public function setCreatedat(\DateTimeInterface $createdat): self
  73. {
  74. $this->createdat = $createdat;
  75. return $this;
  76. }
  77. public function getUpdatedat(): ?\DateTimeInterface
  78. {
  79. return $this->updatedat;
  80. }
  81. public function setUpdatedat(\DateTimeInterface $updatedat): self
  82. {
  83. $this->updatedat = $updatedat;
  84. return $this;
  85. }
  86. }