src/Entity/Fidelizacion/CategoriaCliente.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fidelizacion;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * CategoriaCliente
  6.  *
  7.  * @ORM\Table(name="fidelizacion.categoria_cliente", indexes={@ORM\Index(name="IDX_A24A5A32E4DE7558", columns={"id_parametros_fidelizacion"})})
  8.  * @ORM\Entity
  9.  */
  10. class CategoriaCliente
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="fidelizacion.categoria_cliente_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="nombre", type="string", length=20, nullable=false)
  25.      */
  26.     private $nombre;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="base", type="decimal", precision=10, scale=4, nullable=false)
  31.      */
  32.     private $base;
  33.     /**
  34.      * @var bool
  35.      *
  36.      * @ORM\Column(name="activo", type="boolean", nullable=false)
  37.      */
  38.     private $activo;
  39.     /**
  40.      * @var int
  41.      *
  42.      * @ORM\Column(name="id_usuario_modificacion", type="integer", nullable=false)
  43.      */
  44.     private $idUsuarioModificacion;
  45.     /**
  46.      * @var \DateTime
  47.      *
  48.      * @ORM\Column(name="fecha_modificacion", type="datetime", nullable=false)
  49.      */
  50.     private $fechaModificacion;
  51.     /**
  52.      * @var string
  53.      *
  54.      * @ORM\Column(name="ip_modificacion", type="string", length=50, nullable=false)
  55.      */
  56.     private $ipModificacion;
  57.     /**
  58.      * @var int|null
  59.      *
  60.      * @ORM\Column(name="nivel", type="smallint", nullable=true)
  61.      */
  62.     private $nivel;
  63.     /**
  64.      * @var string|null
  65.      *
  66.      * @ORM\Column(name="puntos_por_dolar", type="decimal", precision=10, scale=2, nullable=true)
  67.      */
  68.     private $puntosPorDolar;
  69.     /**
  70.      * @var string|null
  71.      *
  72.      * @ORM\Column(name="imagen", type="string", nullable=true)
  73.      */
  74.     private $imagen;
  75.     /**
  76.      * @var \ParametrosFidelizacion
  77.      *
  78.      * @ORM\ManyToOne(targetEntity="ParametrosFidelizacion")
  79.      * @ORM\JoinColumns({
  80.      *   @ORM\JoinColumn(name="id_parametros_fidelizacion", referencedColumnName="id")
  81.      * })
  82.      */
  83.     private $idParametrosFidelizacion;
  84.     public function getId(): ?int
  85.     {
  86.         return $this->id;
  87.     }
  88.     public function getNombre(): ?string
  89.     {
  90.         return $this->nombre;
  91.     }
  92.     public function setNombre(string $nombre): self
  93.     {
  94.         $this->nombre $nombre;
  95.         return $this;
  96.     }
  97.     public function getBase(): ?string
  98.     {
  99.         return $this->base;
  100.     }
  101.     public function setBase(string $base): self
  102.     {
  103.         $this->base $base;
  104.         return $this;
  105.     }
  106.     public function getActivo(): ?bool
  107.     {
  108.         return $this->activo;
  109.     }
  110.     public function setActivo(bool $activo): self
  111.     {
  112.         $this->activo $activo;
  113.         return $this;
  114.     }
  115.     public function getIdUsuarioModificacion(): ?int
  116.     {
  117.         return $this->idUsuarioModificacion;
  118.     }
  119.     public function setIdUsuarioModificacion(int $idUsuarioModificacion): self
  120.     {
  121.         $this->idUsuarioModificacion $idUsuarioModificacion;
  122.         return $this;
  123.     }
  124.     public function getFechaModificacion(): ?\DateTimeInterface
  125.     {
  126.         return $this->fechaModificacion;
  127.     }
  128.     public function setFechaModificacion(\DateTimeInterface $fechaModificacion): self
  129.     {
  130.         $this->fechaModificacion $fechaModificacion;
  131.         return $this;
  132.     }
  133.     public function getIpModificacion(): ?string
  134.     {
  135.         return $this->ipModificacion;
  136.     }
  137.     public function setIpModificacion(string $ipModificacion): self
  138.     {
  139.         $this->ipModificacion $ipModificacion;
  140.         return $this;
  141.     }
  142.     public function getNivel(): ?int
  143.     {
  144.         return $this->nivel;
  145.     }
  146.     public function setNivel(?int $nivel): self
  147.     {
  148.         $this->nivel $nivel;
  149.         return $this;
  150.     }
  151.     public function getPuntosPorDolar(): ?string
  152.     {
  153.         return $this->puntosPorDolar;
  154.     }
  155.     public function setPuntosPorDolar(?string $puntosPorDolar): self
  156.     {
  157.         $this->puntosPorDolar $puntosPorDolar;
  158.         return $this;
  159.     }
  160.     public function getImagen(): ?string
  161.     {
  162.         return $this->imagen;
  163.     }
  164.     public function setImagen(?string $imagen): self
  165.     {
  166.         $this->imagen $imagen;
  167.         return $this;
  168.     }
  169.     public function getIdParametrosFidelizacion(): ?ParametrosFidelizacion
  170.     {
  171.         return $this->idParametrosFidelizacion;
  172.     }
  173.     public function setIdParametrosFidelizacion(?ParametrosFidelizacion $idParametrosFidelizacion): self
  174.     {
  175.         $this->idParametrosFidelizacion $idParametrosFidelizacion;
  176.         return $this;
  177.     }
  178. }