<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* DatospagosView
*
* @ORM\Table(name="DatosPagos", indexes={@ORM\Index(name="IDX_3AE953A4896A2938", columns={"datosPersonaId"}), @ORM\Index(name="IDX_3AE953A4702D1D47", columns={"tipo"})})
* @ORM\Entity
*/
class DatospagosView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="DatosPagos_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="numero_pago", type="string", length=255, nullable=false)
*/
private $numeroPago;
/**
* @var \DateTime
*
* @ORM\Column(name="vencimiento", type="custom_datetimetz", nullable=false)
*/
private $vencimiento;
/**
* @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;
/**
* @var \DatospersonasView
*
* @ORM\ManyToOne(targetEntity="DatospersonasView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="datosPersonaId", referencedColumnName="id")
* })
*/
private $datospersonaid;
/**
* @var \MediospagoView
*
* @ORM\ManyToOne(targetEntity="MediospagoView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="tipo", referencedColumnName="id")
* })
*/
private $tipo;
public function getId(): ?int
{
return $this->id;
}
public function getNumeroPago(): ?string
{
return $this->numeroPago;
}
public function setNumeroPago(string $numeroPago): self
{
$this->numeroPago = $numeroPago;
return $this;
}
public function getVencimiento(): ?\DateTimeInterface
{
return $this->vencimiento;
}
public function setVencimiento(\DateTimeInterface $vencimiento): self
{
$this->vencimiento = $vencimiento;
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 getDatospersonaid(): ?DatosPersonasView
{
return $this->datospersonaid;
}
public function setDatospersonaid(?DatosPersonasView $datospersonaid): self
{
$this->datospersonaid = $datospersonaid;
return $this;
}
public function getTipo(): ?MediospagoView
{
return $this->tipo;
}
public function setTipo(?MediospagoView $tipo): self
{
$this->tipo = $tipo;
return $this;
}
}