src/Entity/Fielpet/View/CodigomovimientoView.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. *
  7. * CodigomovimientoView
  8. *
  9. * @ORM\Table(name="CodigoMovimiento")
  10. * @ORM\Entity
  11. */
  12. class CodigomovimientoView
  13. {
  14. /**
  15. * @var int
  16. *
  17. * @ORM\Column(name="id", type="integer", nullable=false)
  18. * @ORM\Id
  19. * @ORM\GeneratedValue(strategy="SEQUENCE")
  20. * @ORM\SequenceGenerator(sequenceName="CodigoMovimiento_id_seq", allocationSize=1, initialValue=1)
  21. */
  22. private $id;
  23. /**
  24. * @var string|null
  25. *
  26. * @ORM\Column(name="razon", type="string", length=255, nullable=true)
  27. */
  28. private $razon;
  29. /**
  30. * @var string|null
  31. *
  32. * @ORM\Column(name="icono", type="string", length=255, nullable=true)
  33. */
  34. private $icono;
  35. /**
  36. * @var string|null
  37. *
  38. * @ORM\Column(name="color", type="string", length=255, nullable=true)
  39. */
  40. private $color;
  41. /**
  42. * @var \DateTime
  43. *
  44. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  45. */
  46. private $createdat;
  47. /**
  48. * @var \DateTime
  49. *
  50. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  51. */
  52. private $updatedat;
  53. public function getId(): ?int
  54. {
  55. return $this->id;
  56. }
  57. public function getRazon(): ?string
  58. {
  59. return $this->razon;
  60. }
  61. public function setRazon(?string $razon): self
  62. {
  63. $this->razon = $razon;
  64. return $this;
  65. }
  66. public function getIcono(): ?string
  67. {
  68. return $this->icono;
  69. }
  70. public function setIcono(?string $icono): self
  71. {
  72. $this->icono = $icono;
  73. return $this;
  74. }
  75. public function getColor(): ?string
  76. {
  77. return $this->color;
  78. }
  79. public function setColor(?string $color): self
  80. {
  81. $this->color = $color;
  82. return $this;
  83. }
  84. public function getCreatedat(): ?\DateTimeInterface
  85. {
  86. return $this->createdat;
  87. }
  88. public function setCreatedat(\DateTimeInterface $createdat): self
  89. {
  90. $this->createdat = $createdat;
  91. return $this;
  92. }
  93. public function getUpdatedat(): ?\DateTimeInterface
  94. {
  95. return $this->updatedat;
  96. }
  97. public function setUpdatedat(\DateTimeInterface $updatedat): self
  98. {
  99. $this->updatedat = $updatedat;
  100. return $this;
  101. }
  102. }