<?php
namespace App\Entity;
use App\Repository\RegistroLlamadaRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=RegistroLlamadaRepository::class)
*/
class RegistroLlamada
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $idCall;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $callerId;
/**
* @ORM\Column(type="string", length=5, nullable=true)
*/
private $nLoteria;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $cantidad;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $urlReserva;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $estado;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $aceptaLopd;
const ESTADO_TELEFONOMANUAL= "telefono";
const ESTADO_CONSULTA = "consulta";
const ESTADO_STOCK = "stock";
const ESTADO_RESERVA = "reserva";
const ESTADO_CANCELADA = "cancelada";
const ESTADO_ENVIADA = "enviada";
public function __construct()
{
}
public function __toString(): string
{
return $this->getIdCall();
}
public function getId(): ?int
{
return $this->id;
}
public function getIdCall(): ?string
{
return $this->idCall;
}
public function setIdCall(string $idCall): self
{
$this->idCall = $idCall;
return $this;
}
public function getCallerId(): ?string
{
return $this->callerId;
}
public function setCallerId(?string $callerId): self
{
$this->callerId = $callerId;
return $this;
}
public function getNLoteria(): ?string
{
return $this->nLoteria;
}
public function setNLoteria(?string $nLoteria): self
{
$this->nLoteria = $nLoteria;
return $this;
}
public function getCantidad(): ?int
{
return $this->cantidad;
}
public function setCantidad(?int $cantidad): self
{
$this->cantidad = $cantidad;
return $this;
}
public function getUrlReserva(): ?string
{
return $this->urlReserva;
}
public function setUrlReserva(?string $urlReserva): self
{
$this->urlReserva = $urlReserva;
return $this;
}
public function getEstado(): ?string
{
return $this->estado;
}
public function setEstado(?string $estado): self
{
$this->estado = $estado;
return $this;
}
public function isAceptaLopd(): ?bool
{
return $this->aceptaLopd;
}
public function setAceptaLopd(?bool $aceptaLopd): self
{
$this->aceptaLopd = $aceptaLopd;
return $this;
}
}