<?php
namespace App\Entity\Fielpet\View;
use Doctrine\ORM\Mapping as ORM;
/**
* CompaniasView
*
* @ORM\Table(name="companias_view")
* @ORM\Entity
*/
class CompaniasView
{
const DAWER = 1;
const BBVA = 2;
/**
* @var int
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="Companias_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
* @ORM\Column(name="nombre", type="string", length=255, nullable=true)
*/
private $nombre;
/**
* @var \DateTime
* @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
*/
private $createdAt;
/**
* @var \DateTime
* @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
*/
private $updatedAt;
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 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; }
}