src/Entity/Fielpet/View/ActualizacionsolicitudView.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. * ActualizacionsolicitudView
  7. *
  8. * @ORM\Table(name="ActualizacionSolicitud", indexes={@ORM\Index(name="IDX_2826D76B8980ED9D", columns={"solicitudId"})})
  9. * @ORM\Entity
  10. */
  11. class ActualizacionsolicitudView
  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="ActualizacionSolicitud_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var \DateTime
  24. *
  25. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  26. */
  27. private $createdat;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  32. */
  33. private $updatedat;
  34. /**
  35. * @var \SolicitudesView
  36. *
  37. * @ORM\ManyToOne(targetEntity="SolicitudesView")
  38. * @ORM\JoinColumns({
  39. * @ORM\JoinColumn(name="solicitudId", referencedColumnName="id")
  40. * })
  41. */
  42. private $solicitudid;
  43. public function getId(): ?int
  44. {
  45. return $this->id;
  46. }
  47. public function getCreatedat(): ?\DateTimeInterface
  48. {
  49. return $this->createdat;
  50. }
  51. public function setCreatedat(\DateTimeInterface $createdat): self
  52. {
  53. $this->createdat = $createdat;
  54. return $this;
  55. }
  56. public function getUpdatedat(): ?\DateTimeInterface
  57. {
  58. return $this->updatedat;
  59. }
  60. public function setUpdatedat(\DateTimeInterface $updatedat): self
  61. {
  62. $this->updatedat = $updatedat;
  63. return $this;
  64. }
  65. public function getSolicitudid(): ?SolicitudesView
  66. {
  67. return $this->solicitudid;
  68. }
  69. public function setSolicitudid(?SolicitudesView $solicitudid): self
  70. {
  71. $this->solicitudid = $solicitudid;
  72. return $this;
  73. }
  74. }