src/Entity/RegistroLlamada.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RegistroLlamadaRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=RegistroLlamadaRepository::class)
  7.  */
  8. class RegistroLlamada
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $idCall;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $callerId;
  24.     /**
  25.      * @ORM\Column(type="string", length=5, nullable=true)
  26.      */
  27.     private $nLoteria;
  28.     /**
  29.      * @ORM\Column(type="integer", nullable=true)
  30.      */
  31.     private $cantidad;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $urlReserva;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $estado;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $aceptaLopd;
  44.     const ESTADO_TELEFONOMANUAL"telefono";
  45.     const ESTADO_CONSULTA "consulta";
  46.     const ESTADO_STOCK "stock";
  47.     const ESTADO_RESERVA "reserva";
  48.     const ESTADO_CANCELADA "cancelada";
  49.     const ESTADO_ENVIADA "enviada";
  50.     public function __construct()
  51.     {
  52.     }
  53.     public function __toString(): string
  54.     {
  55.         return $this->getIdCall();
  56.     }
  57.     public function getId(): ?int
  58.              {
  59.                  return $this->id;
  60.              }
  61.     public function getIdCall(): ?string
  62.     {
  63.         return $this->idCall;
  64.     }
  65.     public function setIdCall(string $idCall): self
  66.     {
  67.         $this->idCall $idCall;
  68.         return $this;
  69.     }
  70.     public function getCallerId(): ?string
  71.     {
  72.         return $this->callerId;
  73.     }
  74.     public function setCallerId(?string $callerId): self
  75.     {
  76.         $this->callerId $callerId;
  77.         return $this;
  78.     }
  79.     public function getNLoteria(): ?string
  80.     {
  81.         return $this->nLoteria;
  82.     }
  83.     public function setNLoteria(?string $nLoteria): self
  84.     {
  85.         $this->nLoteria $nLoteria;
  86.         return $this;
  87.     }
  88.     public function getCantidad(): ?int
  89.     {
  90.         return $this->cantidad;
  91.     }
  92.     public function setCantidad(?int $cantidad): self
  93.     {
  94.         $this->cantidad $cantidad;
  95.         return $this;
  96.     }
  97.     public function getUrlReserva(): ?string
  98.     {
  99.         return $this->urlReserva;
  100.     }
  101.     public function setUrlReserva(?string $urlReserva): self
  102.     {
  103.         $this->urlReserva $urlReserva;
  104.         return $this;
  105.     }
  106.     public function getEstado(): ?string
  107.     {
  108.         return $this->estado;
  109.     }
  110.     public function setEstado(?string $estado): self
  111.     {
  112.         $this->estado $estado;
  113.         return $this;
  114.     }
  115.     public function isAceptaLopd(): ?bool
  116.     {
  117.         return $this->aceptaLopd;
  118.     }
  119.     public function setAceptaLopd(?bool $aceptaLopd): self
  120.     {
  121.         $this->aceptaLopd $aceptaLopd;
  122.         return $this;
  123.     }
  124. }