src/Entity/ClienteFinal.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ClienteFinalRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ClienteFinalRepository::class)
  7.  */
  8. class ClienteFinal
  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 $nombre;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $codigoCliente;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $site;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=Cliente::class)
  30.      * @ORM\JoinColumn(nullable=false)
  31.      */
  32.     private $cliente;
  33.     /**
  34.      * @ORM\Column(type="boolean")
  35.      */
  36.     private $activo;
  37.     /**
  38.      * @ORM\ManyToOne(targetEntity=TipoIngresoCliente::class)
  39.      */
  40.     private $tipoIngresoCliente;
  41.     /**
  42.      * @ORM\Column(type="boolean", nullable=true)
  43.      */
  44.     private $notificarEnTraslado;
  45.     /**
  46.      * @ORM\Column(type="string", length=255, nullable=true)
  47.      */
  48.     private $notificarEnTrasladoEmail;
  49.     /**
  50.      * @ORM\Column(type="boolean", nullable=true)
  51.      */
  52.     private $quitarOtif;
  53.     /**
  54.      * @ORM\Column(type="boolean", nullable=true)
  55.      */
  56.     private $integracionAlcon;
  57.     /**
  58.      * @ORM\Column(type="string", length=255, nullable=true)
  59.      */
  60.     private $prefijo;
  61.     /**
  62.      * @ORM\Column(type="boolean", nullable=true)
  63.      */
  64.     private $bloquearMatrizTransito;
  65.     /**
  66.      * @ORM\Column(type="boolean", nullable=true)
  67.      */
  68.     private $matrizTransitoClienteGenerica;
  69.     public function __toString() 
  70.     {
  71.         return $this->nombre;
  72.     }
  73.     public function getId(): ?int
  74.     {
  75.         return $this->id;
  76.     }
  77.     public function getNombre(): ?string
  78.     {
  79.         return $this->nombre;
  80.     }
  81.     public function setNombre(string $nombre): self
  82.     {
  83.         $this->nombre $nombre;
  84.         return $this;
  85.     }
  86.     public function getCodigoCliente(): ?string
  87.     {
  88.         return $this->codigoCliente;
  89.     }
  90.     public function setCodigoCliente(?string $codigoCliente): self
  91.     {
  92.         $this->codigoCliente $codigoCliente;
  93.         return $this;
  94.     }
  95.     public function getSite(): ?string
  96.     {
  97.         return $this->site;
  98.     }
  99.     public function setSite(?string $site): self
  100.     {
  101.         $this->site $site;
  102.         return $this;
  103.     }
  104.     public function getCliente(): ?Cliente
  105.     {
  106.         return $this->cliente;
  107.     }
  108.     public function setCliente(?Cliente $cliente): self
  109.     {
  110.         $this->cliente $cliente;
  111.         return $this;
  112.     }
  113.     public function getActivo(): ?bool
  114.     {
  115.         return $this->activo;
  116.     }
  117.     public function setActivo(bool $activo): self
  118.     {
  119.         $this->activo $activo;
  120.         return $this;
  121.     }
  122.     public function getTipoIngresoCliente(): ?TipoIngresoCliente
  123.     {
  124.         return $this->tipoIngresoCliente;
  125.     }
  126.     public function setTipoIngresoCliente(?TipoIngresoCliente $tipoIngresoCliente): self
  127.     {
  128.         $this->tipoIngresoCliente $tipoIngresoCliente;
  129.         return $this;
  130.     }
  131.     public function getNotificarEnTraslado(): ?bool
  132.     {
  133.         return $this->notificarEnTraslado;
  134.     }
  135.     public function setNotificarEnTraslado(?bool $notificarEnTraslado): self
  136.     {
  137.         $this->notificarEnTraslado $notificarEnTraslado;
  138.         return $this;
  139.     }
  140.     public function getNotificarEnTrasladoEmail(): ?string
  141.     {
  142.         return $this->notificarEnTrasladoEmail;
  143.     }
  144.     public function setNotificarEnTrasladoEmail(?string $notificarEnTrasladoEmail): self
  145.     {
  146.         $this->notificarEnTrasladoEmail $notificarEnTrasladoEmail;
  147.         return $this;
  148.     }
  149.     public function isQuitarOtif(): ?bool
  150.     {
  151.         return $this->quitarOtif;
  152.     }
  153.     public function setQuitarOtif(?bool $quitarOtif): self
  154.     {
  155.         $this->quitarOtif $quitarOtif;
  156.         return $this;
  157.     }
  158.     public function isIntegracionAlcon(): ?bool
  159.     {
  160.         return $this->integracionAlcon;
  161.     }
  162.     public function setIntegracionAlcon(?bool $integracionAlcon): self
  163.     {
  164.         $this->integracionAlcon $integracionAlcon;
  165.         return $this;
  166.     }
  167.     public function getPrefijo(): ?string
  168.     {
  169.         return $this->prefijo;
  170.     }
  171.     public function setPrefijo(?string $prefijo): self
  172.     {
  173.         $this->prefijo $prefijo;
  174.         return $this;
  175.     }
  176.     public function isBloquearMatrizTransito(): ?bool
  177.     {
  178.         return $this->bloquearMatrizTransito;
  179.     }
  180.     public function setBloquearMatrizTransito(?bool $bloquearMatrizTransito): self
  181.     {
  182.         $this->bloquearMatrizTransito $bloquearMatrizTransito;
  183.         return $this;
  184.     }
  185.     public function isMatrizTransitoClienteGenerica(): ?bool
  186.     {
  187.         return $this->matrizTransitoClienteGenerica;
  188.     }
  189.     public function setMatrizTransitoClienteGenerica(?bool $matrizTransitoClienteGenerica): self
  190.     {
  191.         $this->matrizTransitoClienteGenerica $matrizTransitoClienteGenerica;
  192.         return $this;
  193.     }
  194. }