src/Entity/Fielpet/View/MediospagoView.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. * MediospagoView
  7. *
  8. * @ORM\Table(name="MediosPago", uniqueConstraints={@ORM\UniqueConstraint(name="MediosPago_tipo_key", columns={"tipo"})})
  9. * @ORM\Entity
  10. */
  11. class MediospagoView
  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="MediosPago_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string
  24. *
  25. * @ORM\Column(name="tipo", type="string", length=255, nullable=false)
  26. */
  27. private $tipo;
  28. /**
  29. * @var int
  30. *
  31. * @ORM\Column(name="size", type="integer", nullable=false)
  32. */
  33. private $size;
  34. /**
  35. * @var string
  36. *
  37. * @ORM\Column(name="verifica", type="string", length=255, nullable=false)
  38. */
  39. private $verifica;
  40. /**
  41. * @var int
  42. *
  43. * @ORM\Column(name="id_portal", type="integer", nullable=false)
  44. */
  45. private $idPortal;
  46. /**
  47. * @var bool|null
  48. *
  49. * @ORM\Column(name="is_active", type="boolean", nullable=true, options={"default"="1"})
  50. */
  51. private $isActive = true;
  52. /**
  53. * @var \DateTime
  54. *
  55. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  56. */
  57. private $createdat;
  58. /**
  59. * @var \DateTime
  60. *
  61. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  62. */
  63. private $updatedat;
  64. public function getId(): ?int
  65. {
  66. return $this->id;
  67. }
  68. public function getTipo(): ?string
  69. {
  70. return $this->tipo;
  71. }
  72. public function setTipo(string $tipo): self
  73. {
  74. $this->tipo = $tipo;
  75. return $this;
  76. }
  77. public function getSize(): ?int
  78. {
  79. return $this->size;
  80. }
  81. public function setSize(int $size): self
  82. {
  83. $this->size = $size;
  84. return $this;
  85. }
  86. public function getVerifica(): ?string
  87. {
  88. return $this->verifica;
  89. }
  90. public function setVerifica(string $verifica): self
  91. {
  92. $this->verifica = $verifica;
  93. return $this;
  94. }
  95. public function getIdPortal(): ?int
  96. {
  97. return $this->idPortal;
  98. }
  99. public function setIdPortal(int $idPortal): self
  100. {
  101. $this->idPortal = $idPortal;
  102. return $this;
  103. }
  104. public function getIsActive(): ?bool
  105. {
  106. return $this->isActive;
  107. }
  108. public function setIsActive(?bool $isActive): self
  109. {
  110. $this->isActive = $isActive;
  111. return $this;
  112. }
  113. public function getCreatedat(): ?\DateTimeInterface
  114. {
  115. return $this->createdat;
  116. }
  117. public function setCreatedat(\DateTimeInterface $createdat): self
  118. {
  119. $this->createdat = $createdat;
  120. return $this;
  121. }
  122. public function getUpdatedat(): ?\DateTimeInterface
  123. {
  124. return $this->updatedat;
  125. }
  126. public function setUpdatedat(\DateTimeInterface $updatedat): self
  127. {
  128. $this->updatedat = $updatedat;
  129. return $this;
  130. }
  131. public function isIsActive(): ?bool
  132. {
  133. return $this->isActive;
  134. }
  135. }