<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @ORM\Table(name="cc_articulos_bloqueados")
* @ORM\Entity
*/
class CcArticulosBloqueados
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $codarticulo;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $sucursal;
/**
* @ORM\Column(type="boolean")
*/
private $bloqueado = true;
public function getId(): ?int
{
return $this->id;
}
public function getCodarticulo(): ?int
{
return $this->codarticulo;
}
public function setCodarticulo(int $codarticulo): static
{
$this->codarticulo = $codarticulo;
return $this;
}
public function isBloqueado(): ?bool
{
return $this->bloqueado;
}
public function setBloqueado(bool $bloqueado): static
{
$this->bloqueado = $bloqueado;
return $this;
}
public function getSucursal(): ?string
{
return $this->sucursal;
}
public function setSucursal(?string $sucursal): self
{
$this->sucursal = $sucursal;
return $this;
}
}