<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* LocalidadesbbvaView
*
* @ORM\Table(name="LocalidadesBbva", indexes={@ORM\Index(name="IDX_48844BD82B86C62C", columns={"provinciaBbvaId"})})
* @ORM\Entity
*/
class LocalidadesbbvaView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="LocalidadesBbva_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nombre", type="string", length=255, nullable=false)
*/
private $nombre;
/**
* @var string
*
* @ORM\Column(name="codigoBbva", type="string", length=255, nullable=false)
*/
private $codigobbva;
/**
* @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 \ProvinciasbbvaView
*
* @ORM\ManyToOne(targetEntity="ProvinciasbbvaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="provinciaBbvaId", referencedColumnName="id")
* })
*/
private $provinciabbvaid;
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
public function getCodigobbva(): ?string
{
return $this->codigobbva;
}
public function setCodigobbva(string $codigobbva): self
{
$this->codigobbva = $codigobbva;
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 getProvinciabbvaid(): ?ProvinciasbbvaView
{
return $this->provinciabbvaid;
}
public function setProvinciabbvaid(?ProvinciasbbvaView $provinciabbvaid): self
{
$this->provinciabbvaid = $provinciabbvaid;
return $this;
}
}