src/Entity/Favoritoslin.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Favoritoslin
  6.  *
  7.  * @ORM\Table(name="favoritoslin", indexes={@ORM\Index(name="CODARTICULO", columns={"CODARTICULO"})}, options={"readOnly": true})
  8.  * @ORM\Entity
  9.  */
  10. class Favoritoslin
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Id
  16.      * @ORM\Column(name="CODFAVORITO", type="integer", nullable=false)
  17.      */
  18.     private $codfavorito;
  19.     /**
  20.      * @var int|null
  21.      *
  22.      * @ORM\Column(name="POSICION", type="integer", nullable=true, options={"default"="NULL"})
  23.      */
  24.     private $posicion NULL;
  25.     /**
  26.      * @var int|null
  27.      *
  28.      * @ORM\Column(name="CODARTICULO", type="integer", nullable=true, options={"default"="NULL"})
  29.      */
  30.     private $codarticulo NULL;
  31.     /**
  32.      * @var int|null
  33.      *
  34.      * @ORM\Column(name="TIPO", type="integer", nullable=true, options={"default"="NULL"})
  35.      */
  36.     private $tipo NULL;
  37.     public function getCodfavorito(): ?int
  38.     {
  39.         return $this->codfavorito;
  40.     }
  41.     public function setCodfavorito(int $codfavorito): self
  42.     {
  43.         $this->codfavorito $codfavorito;
  44.         return $this;
  45.     }
  46.     public function getPosicion(): ?int
  47.     {
  48.         return $this->posicion;
  49.     }
  50.     public function setPosicion(?int $posicion): self
  51.     {
  52.         $this->posicion $posicion;
  53.         return $this;
  54.     }
  55.     public function getCodarticulo(): ?int
  56.     {
  57.         return $this->codarticulo;
  58.     }
  59.     public function setCodarticulo(?int $codarticulo): self
  60.     {
  61.         $this->codarticulo $codarticulo;
  62.         return $this;
  63.     }
  64.     public function getTipo(): ?int
  65.     {
  66.         return $this->tipo;
  67.     }
  68.     public function setTipo(?int $tipo): self
  69.     {
  70.         $this->tipo $tipo;
  71.         return $this;
  72.     }
  73. }