<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* Modificadoresarticulos
*
* @ORM\Table(name="modificadoresarticulos", uniqueConstraints={@ORM\UniqueConstraint(name="CODMODIFICADOR", columns={"CODMODIFICADOR"}), @ORM\UniqueConstraint(name="IDTARIFAV", columns={"IDTARIFAV"})}, indexes={@ORM\Index(name="CODARTICULO", columns={"CODARTICULO"})}, options={"readOnly": true})
* @ORM\Entity
*/
class Modificadoresarticulos
{
/**
* @var int
*
* @ORM\id
* @ORM\Column(name="CODARTICULO", type="integer", nullable=false)
*/
private $codarticulo;
/**
* @var int
*
* @ORM\Column(name="CODMODIFICADOR", type="integer", nullable=false)
*/
private $codmodificador;
/**
* @var string|null
*
* @ORM\Column(name="MULTISELEC", type="string", length=1, nullable=true, options={"default"="NULL"})
*/
private $multiselec = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="POSICION", type="integer", nullable=true, options={"default"="NULL"})
*/
private $posicion = NULL;
/**
* @var int|null
*
* @ORM\Column(name="ORDEN", type="integer", nullable=true, options={"default"="NULL"})
*/
private $orden = NULL;
/**
* @var int|null
*
* @ORM\Column(name="LIMITE", type="integer", nullable=true, options={"default"="NULL"})
*/
private $limite = NULL;
/**
* @var int|null
*
* @ORM\Column(name="MINIMO", type="smallint", nullable=true, options={"default"="NULL"})
*/
private $minimo = 'NULL';
/**
* @var bool|null
*
* @ORM\Column(name="AUTO", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $auto = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="GRATIS", type="integer", nullable=true, options={"default"="NULL"})
*/
private $gratis = NULL;
/**
* @var int|null
*
* @ORM\Column(name="IDTARIFAV", type="integer", nullable=true, options={"default"="NULL"})
*/
private $idtarifav = NULL;
/**
* @var bool|null
*
* @ORM\Column(name="ORDENOPCIONAL", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $ordenopcional = 'NULL';
/**
* @var bool|null
*
* @ORM\Column(name="FILTRARTARIFAS", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $filtrartarifas = 'NULL';
public function getCodarticulo(): ?int
{
return $this->codarticulo;
}
public function setCodarticulo(int $codarticulo): self
{
$this->codarticulo = $codarticulo;
return $this;
}
public function getCodmodificador(): ?int
{
return $this->codmodificador;
}
public function setCodmodificador(int $codmodificador): self
{
$this->codmodificador = $codmodificador;
return $this;
}
public function getMultiselec(): ?string
{
return $this->multiselec;
}
public function setMultiselec(?string $multiselec): self
{
$this->multiselec = $multiselec;
return $this;
}
public function getPosicion(): ?int
{
return $this->posicion;
}
public function setPosicion(?int $posicion): self
{
$this->posicion = $posicion;
return $this;
}
public function getOrden(): ?int
{
return $this->orden;
}
public function setOrden(?int $orden): self
{
$this->orden = $orden;
return $this;
}
public function getLimite(): ?int
{
return $this->limite;
}
public function setLimite(?int $limite): self
{
$this->limite = $limite;
return $this;
}
public function getMinimo(): ?int
{
return $this->minimo;
}
public function setMinimo(?int $minimo): self
{
$this->minimo = $minimo;
return $this;
}
public function getAuto(): ?bool
{
return $this->auto;
}
public function setAuto(?bool $auto): self
{
$this->auto = $auto;
return $this;
}
public function getGratis(): ?int
{
return $this->gratis;
}
public function setGratis(?int $gratis): self
{
$this->gratis = $gratis;
return $this;
}
public function getIdtarifav(): ?int
{
return $this->idtarifav;
}
public function setIdtarifav(?int $idtarifav): self
{
$this->idtarifav = $idtarifav;
return $this;
}
public function getOrdenopcional(): ?bool
{
return $this->ordenopcional;
}
public function setOrdenopcional(?bool $ordenopcional): self
{
$this->ordenopcional = $ordenopcional;
return $this;
}
public function getFiltrartarifas(): ?bool
{
return $this->filtrartarifas;
}
public function setFiltrartarifas(?bool $filtrartarifas): self
{
$this->filtrartarifas = $filtrartarifas;
return $this;
}
public function isAuto(): ?bool
{
return $this->auto;
}
public function isOrdenopcional(): ?bool
{
return $this->ordenopcional;
}
public function isFiltrartarifas(): ?bool
{
return $this->filtrartarifas;
}
}