src/Entity/Fielpet/View/MovimientosiniestroView.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. * MovimientosiniestroView
  7. *
  8. * @ORM\Table(name="MovimientoSiniestro", indexes={@ORM\Index(name="IDX_7D9B334452066F5", columns={"siniestroId"}), @ORM\Index(name="IDX_7D9B3344377FD2E6", columns={"codigoMovimientoId"})})
  9. * @ORM\Entity
  10. */
  11. class MovimientosiniestroView
  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="MovimientoSiniestro_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="texto_adicional", type="text", nullable=true)
  26. */
  27. private $textoAdicional;
  28. /**
  29. * @var \DateTime|null
  30. *
  31. * @ORM\Column(name="fecha_movimiento", type="custom_datetimetz", nullable=true)
  32. */
  33. private $fechaMovimiento;
  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. /**
  47. * @var SiniestroView
  48. *
  49. * @ORM\ManyToOne(targetEntity="SiniestroView")
  50. * @ORM\JoinColumns({
  51. * @ORM\JoinColumn(name="siniestroId", referencedColumnName="id")
  52. * })
  53. */
  54. private $siniestroid;
  55. /**
  56. * @var CodigomovimientoView
  57. *
  58. * @ORM\ManyToOne(targetEntity="CodigomovimientoView")
  59. * @ORM\JoinColumns({
  60. * @ORM\JoinColumn(name="codigoMovimientoId", referencedColumnName="id")
  61. * })
  62. */
  63. private $codigomovimientoid;
  64. public function getId(): ?int
  65. {
  66. return $this->id;
  67. }
  68. public function getTextoAdicional(): ?string
  69. {
  70. return $this->textoAdicional;
  71. }
  72. public function setTextoAdicional(?string $textoAdicional): self
  73. {
  74. $this->textoAdicional = $textoAdicional;
  75. return $this;
  76. }
  77. public function getFechaMovimiento(): ?\DateTimeInterface
  78. {
  79. return $this->fechaMovimiento;
  80. }
  81. public function setFechaMovimiento(?\DateTimeInterface $fechaMovimiento): self
  82. {
  83. $this->fechaMovimiento = $fechaMovimiento;
  84. return $this;
  85. }
  86. public function getCreatedat(): ?\DateTimeInterface
  87. {
  88. return $this->createdat;
  89. }
  90. public function setCreatedat(\DateTimeInterface $createdat): self
  91. {
  92. $this->createdat = $createdat;
  93. return $this;
  94. }
  95. public function getUpdatedat(): ?\DateTimeInterface
  96. {
  97. return $this->updatedat;
  98. }
  99. public function setUpdatedat(\DateTimeInterface $updatedat): self
  100. {
  101. $this->updatedat = $updatedat;
  102. return $this;
  103. }
  104. public function getSiniestroid(): ?SiniestroView
  105. {
  106. return $this->siniestroid;
  107. }
  108. public function setSiniestroid(?SiniestroView $siniestroid): self
  109. {
  110. $this->siniestroid = $siniestroid;
  111. return $this;
  112. }
  113. public function getCodigomovimientoid(): ?CodigomovimientoView
  114. {
  115. return $this->codigomovimientoid;
  116. }
  117. public function setCodigomovimientoid(?CodigomovimientoView $codigomovimientoid): self
  118. {
  119. $this->codigomovimientoid = $codigomovimientoid;
  120. return $this;
  121. }
  122. }