src/Entity/Fielpet/View/NotificacionesView.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. * NotificacionesView
  7. *
  8. * @ORM\Table(name="Notificaciones", indexes={@ORM\Index(name="IDX_CB9BB3F9FB34125D", columns={"eventoId"}), @ORM\Index(name="IDX_CB9BB3F931A0FB93", columns={"stockAlimentoId"})})
  9. * @ORM\Entity
  10. */
  11. class NotificacionesView
  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="Notificaciones_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="job_id", type="string", length=255, nullable=true)
  26. */
  27. private $jobId;
  28. /**
  29. * @var string|null
  30. *
  31. * @ORM\Column(name="title", type="string", length=255, nullable=true, options={"default"="Fielpet"})
  32. */
  33. private $title = 'Fielpet';
  34. /**
  35. * @var string|null
  36. *
  37. * @ORM\Column(name="body", type="string", length=255, nullable=true)
  38. */
  39. private $body = '';
  40. /**
  41. * @var string|null
  42. *
  43. * @ORM\Column(name="imageUrl", type="string", length=255, nullable=true)
  44. */
  45. private $imageurl;
  46. /**
  47. * @var \DateTime
  48. *
  49. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  50. */
  51. private $createdat;
  52. /**
  53. * @var \DateTime
  54. *
  55. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  56. */
  57. private $updatedat;
  58. /**
  59. * @var EventosView
  60. *
  61. * @ORM\ManyToOne(targetEntity="EventosView")
  62. * @ORM\JoinColumns({
  63. * @ORM\JoinColumn(name="eventoId", referencedColumnName="id")
  64. * })
  65. */
  66. private $eventoid;
  67. /**
  68. * @var StockalimentoView
  69. *
  70. * @ORM\ManyToOne(targetEntity="StockalimentoView")
  71. * @ORM\JoinColumns({
  72. * @ORM\JoinColumn(name="stockAlimentoId", referencedColumnName="id")
  73. * })
  74. */
  75. private $stockalimentoid;
  76. public function getId(): ?int
  77. {
  78. return $this->id;
  79. }
  80. public function getJobId(): ?string
  81. {
  82. return $this->jobId;
  83. }
  84. public function setJobId(?string $jobId): self
  85. {
  86. $this->jobId = $jobId;
  87. return $this;
  88. }
  89. public function getTitle(): ?string
  90. {
  91. return $this->title;
  92. }
  93. public function setTitle(?string $title): self
  94. {
  95. $this->title = $title;
  96. return $this;
  97. }
  98. public function getBody(): ?string
  99. {
  100. return $this->body;
  101. }
  102. public function setBody(?string $body): self
  103. {
  104. $this->body = $body;
  105. return $this;
  106. }
  107. public function getImageurl(): ?string
  108. {
  109. return $this->imageurl;
  110. }
  111. public function setImageurl(?string $imageurl): self
  112. {
  113. $this->imageurl = $imageurl;
  114. return $this;
  115. }
  116. public function getCreatedat(): ?\DateTimeInterface
  117. {
  118. return $this->createdat;
  119. }
  120. public function setCreatedat(\DateTimeInterface $createdat): self
  121. {
  122. $this->createdat = $createdat;
  123. return $this;
  124. }
  125. public function getUpdatedat(): ?\DateTimeInterface
  126. {
  127. return $this->updatedat;
  128. }
  129. public function setUpdatedat(\DateTimeInterface $updatedat): self
  130. {
  131. $this->updatedat = $updatedat;
  132. return $this;
  133. }
  134. public function getEventoid(): ?EventosView
  135. {
  136. return $this->eventoid;
  137. }
  138. public function setEventoid(?EventosView $eventoid): self
  139. {
  140. $this->eventoid = $eventoid;
  141. return $this;
  142. }
  143. public function getStockalimentoid(): ?StockalimentoView
  144. {
  145. return $this->stockalimentoid;
  146. }
  147. public function setStockalimentoid(?StockalimentoView $stockalimentoid): self
  148. {
  149. $this->stockalimentoid = $stockalimentoid;
  150. return $this;
  151. }
  152. }