<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Favoritoslin
*
* @ORM\Table(name="favoritoslin", indexes={@ORM\Index(name="CODARTICULO", columns={"CODARTICULO"})}, options={"readOnly": true})
* @ORM\Entity
*/
class Favoritoslin
{
/**
* @var int
*
* @ORM\Id
* @ORM\Column(name="CODFAVORITO", type="integer", nullable=false)
*/
private $codfavorito;
/**
* @var int|null
*
* @ORM\Column(name="POSICION", type="integer", nullable=true, options={"default"="NULL"})
*/
private $posicion = NULL;
/**
* @var int|null
*
* @ORM\Column(name="CODARTICULO", type="integer", nullable=true, options={"default"="NULL"})
*/
private $codarticulo = NULL;
/**
* @var int|null
*
* @ORM\Column(name="TIPO", type="integer", nullable=true, options={"default"="NULL"})
*/
private $tipo = NULL;
public function getCodfavorito(): ?int
{
return $this->codfavorito;
}
public function setCodfavorito(int $codfavorito): self
{
$this->codfavorito = $codfavorito;
return $this;
}
public function getPosicion(): ?int
{
return $this->posicion;
}
public function setPosicion(?int $posicion): self
{
$this->posicion = $posicion;
return $this;
}
public function getCodarticulo(): ?int
{
return $this->codarticulo;
}
public function setCodarticulo(?int $codarticulo): self
{
$this->codarticulo = $codarticulo;
return $this;
}
public function getTipo(): ?int
{
return $this->tipo;
}
public function setTipo(?int $tipo): self
{
$this->tipo = $tipo;
return $this;
}
}