<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* Favoritoscab
*
* @ORM\Table(name="favoritoscab", options={"readOnly": true})
* @ORM\Entity
*/
class Favoritoscab
{
/**
* @var int
* @ORM\Id
* @ORM\Column(name="CODFAVORITO", type="integer", nullable=false)
*/
private $codfavorito;
/**
* @var string|null
*
* @ORM\Column(name="DESCRIPCION", type="string", length=100, nullable=true, options={"default"="NULL"})
*/
private $descripcion = 'NULL';
/**
* @var string|null
*
* @ORM\Column(name="IMAGEN", type="blob", length=0, nullable=true, options={"default"="NULL"})
*/
private $imagen = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="COLORFONDO", type="integer", nullable=true, options={"default"="NULL"})
*/
private $colorfondo = NULL;
/**
* @var int|null
*
* @ORM\Column(name="COLORTEXTO", type="integer", nullable=true, options={"default"="NULL"})
*/
private $colortexto = NULL;
/**
* @var string|null
*
* @ORM\Column(name="VISIBLEWEB", type="string", length=10, nullable=true, options={"default"="NULL"})
*/
private $visibleweb = 'NULL';
/**
* @var string|null
*
* @ORM\Column(name="VERSION", type="blob", length=16777215, nullable=true, options={"default"="NULL"})
*/
private $version = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="POSICION", type="integer", nullable=true, options={"default"="NULL"})
*/
private $posicion = NULL;
/**
* @var string|null
*
* @ORM\Column(name="CENTRO", type="string", length=120, nullable=true, options={"default"="NULL"})
*/
private $centro = 'NULL';
/**
* @var \DateTime|null
*
* @ORM\Column(name="FECHAINI", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $fechaini = 'NULL';
/**
* @var \DateTime|null
*
* @ORM\Column(name="FECHAFIN", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $fechafin = 'NULL';
/**
* @var bool|null
*
* @ORM\Column(name="DESCATALOGADO", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $descatalogado = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="CODFAVORITOPARENT", type="integer", nullable=true, options={"default"="NULL"})
*/
private $codfavoritoparent = NULL;
/**
* @var bool|null
*
* @ORM\Column(name="VISIBLEVENTA", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $visibleventa = 'NULL';
/**
* @var bool|null
*
* @ORM\Column(name="VISIBLECOMPRA", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $visiblecompra = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="VISIBILIDAD", type="integer", nullable=true, options={"default"="NULL"})
*/
private $visibilidad = NULL;
public function getCodfavorito(): ?int
{
return $this->codfavorito;
}
public function setCodfavorito(int $codfavorito): self
{
$this->codfavorito = $codfavorito;
return $this;
}
public function getDescripcion(): ?string
{
return $this->descripcion;
}
public function setDescripcion(?string $descripcion): self
{
$this->descripcion = $descripcion;
return $this;
}
public function getImagen()
{
return $this->imagen;
}
public function setImagen($imagen): self
{
$this->imagen = $imagen;
return $this;
}
public function getColorfondo(): ?int
{
return $this->colorfondo;
}
public function setColorfondo(?int $colorfondo): self
{
$this->colorfondo = $colorfondo;
return $this;
}
public function getColortexto(): ?int
{
return $this->colortexto;
}
public function setColortexto(?int $colortexto): self
{
$this->colortexto = $colortexto;
return $this;
}
public function getVisibleweb(): ?string
{
return $this->visibleweb;
}
public function setVisibleweb(?string $visibleweb): self
{
$this->visibleweb = $visibleweb;
return $this;
}
public function getVersion()
{
return $this->version;
}
public function setVersion($version): self
{
$this->version = $version;
return $this;
}
public function getPosicion(): ?int
{
return $this->posicion;
}
public function setPosicion(?int $posicion): self
{
$this->posicion = $posicion;
return $this;
}
public function getCentro(): ?string
{
return $this->centro;
}
public function setCentro(?string $centro): self
{
$this->centro = $centro;
return $this;
}
public function getFechaini(): ?\DateTimeInterface
{
return $this->fechaini;
}
public function setFechaini(?\DateTimeInterface $fechaini): self
{
$this->fechaini = $fechaini;
return $this;
}
public function getFechafin(): ?\DateTimeInterface
{
return $this->fechafin;
}
public function setFechafin(?\DateTimeInterface $fechafin): self
{
$this->fechafin = $fechafin;
return $this;
}
public function getDescatalogado(): ?bool
{
return $this->descatalogado;
}
public function setDescatalogado(?bool $descatalogado): self
{
$this->descatalogado = $descatalogado;
return $this;
}
public function getCodfavoritoparent(): ?int
{
return $this->codfavoritoparent;
}
public function setCodfavoritoparent(?int $codfavoritoparent): self
{
$this->codfavoritoparent = $codfavoritoparent;
return $this;
}
public function getVisibleventa(): ?bool
{
return $this->visibleventa;
}
public function setVisibleventa(?bool $visibleventa): self
{
$this->visibleventa = $visibleventa;
return $this;
}
public function getVisiblecompra(): ?bool
{
return $this->visiblecompra;
}
public function setVisiblecompra(?bool $visiblecompra): self
{
$this->visiblecompra = $visiblecompra;
return $this;
}
public function getVisibilidad(): ?int
{
return $this->visibilidad;
}
public function setVisibilidad(?int $visibilidad): self
{
$this->visibilidad = $visibilidad;
return $this;
}
public function isDescatalogado(): ?bool
{
return $this->descatalogado;
}
public function isVisibleventa(): ?bool
{
return $this->visibleventa;
}
public function isVisiblecompra(): ?bool
{
return $this->visiblecompra;
}
}