<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* MediospagoView
*
* @ORM\Table(name="MediosPago", uniqueConstraints={@ORM\UniqueConstraint(name="MediosPago_tipo_key", columns={"tipo"})})
* @ORM\Entity
*/
class MediospagoView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="MediosPago_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="tipo", type="string", length=255, nullable=false)
*/
private $tipo;
/**
* @var int
*
* @ORM\Column(name="size", type="integer", nullable=false)
*/
private $size;
/**
* @var string
*
* @ORM\Column(name="verifica", type="string", length=255, nullable=false)
*/
private $verifica;
/**
* @var int
*
* @ORM\Column(name="id_portal", type="integer", nullable=false)
*/
private $idPortal;
/**
* @var bool|null
*
* @ORM\Column(name="is_active", type="boolean", nullable=true, options={"default"="1"})
*/
private $isActive = true;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
*/
private $createdat;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
*/
private $updatedat;
public function getId(): ?int
{
return $this->id;
}
public function getTipo(): ?string
{
return $this->tipo;
}
public function setTipo(string $tipo): self
{
$this->tipo = $tipo;
return $this;
}
public function getSize(): ?int
{
return $this->size;
}
public function setSize(int $size): self
{
$this->size = $size;
return $this;
}
public function getVerifica(): ?string
{
return $this->verifica;
}
public function setVerifica(string $verifica): self
{
$this->verifica = $verifica;
return $this;
}
public function getIdPortal(): ?int
{
return $this->idPortal;
}
public function setIdPortal(int $idPortal): self
{
$this->idPortal = $idPortal;
return $this;
}
public function getIsActive(): ?bool
{
return $this->isActive;
}
public function setIsActive(?bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
public function getCreatedat(): ?\DateTimeInterface
{
return $this->createdat;
}
public function setCreatedat(\DateTimeInterface $createdat): self
{
$this->createdat = $createdat;
return $this;
}
public function getUpdatedat(): ?\DateTimeInterface
{
return $this->updatedat;
}
public function setUpdatedat(\DateTimeInterface $updatedat): self
{
$this->updatedat = $updatedat;
return $this;
}
public function isIsActive(): ?bool
{
return $this->isActive;
}
}