<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* PlanesView
*
* @ORM\Table(name="Planes")
* @ORM\Entity
*/
class PlanesView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="Planes_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nombre", type="string", length=255, nullable=false)
*/
private $nombre;
/**
* @var int
*
* @ORM\Column(name="suma_asegurada", type="integer", nullable=false)
*/
private $sumaAsegurada;
/**
* @var int|null
*
* @ORM\Column(name="id_portal", type="integer", nullable=true)
*/
private $idPortal;
/**
* @var bool|null
*
* @ORM\Column(name="is_active", type="boolean", nullable=true, options={"default"="1"})
*/
private $isActive = true;
/**
* @var float
*
* @ORM\Column(name="costo", type="float", precision=10, scale=0, nullable=false)
*/
private $costo;
/**
* @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 getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
public function getSumaAsegurada(): ?int
{
return $this->sumaAsegurada;
}
public function setSumaAsegurada(int $sumaAsegurada): self
{
$this->sumaAsegurada = $sumaAsegurada;
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 getCosto(): ?float
{
return $this->costo;
}
public function setCosto(float $costo): self
{
$this->costo = $costo;
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;
}
}