<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* Preciosventa
*
* @ORM\Table(name="preciosventa", uniqueConstraints={@ORM\UniqueConstraint(name="CODARTICULO", columns={"CODARTICULO"})}, indexes={@ORM\Index(name="IDTARIFAV", columns={"IDTARIFAV"})}, options={"readOnly": true})
* @ORM\Entity
*/
class Preciosventa
{
/**
* @var int
*
* @ORM\id
* @ORM\Column(name="IDTARIFAV", type="integer", nullable=false)
*/
private $idtarifav;
/**
* @var int
*
* @ORM\Column(name="CODARTICULO", type="integer", nullable=false)
*/
private $codarticulo;
/**
* @var string|null
*
* @ORM\Column(name="TALLA", type="string", length=10, nullable=true, options={"default"="NULL"})
*/
private $talla = 'NULL';
/**
* @var string|null
*
* @ORM\Column(name="COLOR", type="string", length=10, nullable=true, options={"default"="NULL"})
*/
private $color = 'NULL';
/**
* @var float|null
*
* @ORM\Column(name="PBRUTO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $pbruto = NULL;
/**
* @var float|null
*
* @ORM\Column(name="X", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $x = NULL;
/**
* @var float|null
*
* @ORM\Column(name="Y", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $y = NULL;
/**
* @var float|null
*
* @ORM\Column(name="DTO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $dto = NULL;
/**
* @var float|null
*
* @ORM\Column(name="PNETO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $pneto = NULL;
/**
* @var float|null
*
* @ORM\Column(name="BENEFICIO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $beneficio = NULL;
/**
* @var float|null
*
* @ORM\Column(name="PORCC", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $porcc = NULL;
/**
* @var float|null
*
* @ORM\Column(name="PORCV", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $porcv = NULL;
/**
* @var \DateTime|null
*
* @ORM\Column(name="FECHAMODIFICADO", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $fechamodificado = 'NULL';
/**
* @var int|null
*
* @ORM\Column(name="CODMONEDA", type="integer", nullable=true, options={"default"="NULL"})
*/
private $codmoneda = NULL;
/**
* @var int|null
*
* @ORM\Column(name="CODFORMATO", type="integer", nullable=true, options={"default"="NULL"})
*/
private $codformato = NULL;
/**
* @var string|null
*
* @ORM\Column(name="DTOTEXTO", type="string", length=60, nullable=true, options={"default"="NULL"})
*/
private $dtotexto = 'NULL';
/**
* @var float|null
*
* @ORM\Column(name="PNETOANTERIOR", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $pnetoanterior = NULL;
/**
* @var \DateTime|null
*
* @ORM\Column(name="CADUCIDAD", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $caducidad = 'NULL';
/**
* @var float|null
*
* @ORM\Column(name="PBRUTO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $pbruto2 = NULL;
/**
* @var float|null
*
* @ORM\Column(name="DTO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $dto2 = NULL;
/**
* @var float|null
*
* @ORM\Column(name="PNETO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $pneto2 = NULL;
/**
* @var string|null
*
* @ORM\Column(name="DTOTEXTO2", type="string", length=60, nullable=true, options={"default"="NULL"})
*/
private $dtotexto2 = 'NULL';
/**
* @var \DateTime|null
*
* @ORM\Column(name="DESDE2", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $desde2 = 'NULL';
/**
* @var \DateTime|null
*
* @ORM\Column(name="HASTA2", type="datetime", nullable=true, options={"default"="NULL"})
*/
private $hasta2 = 'NULL';
/**
* @var float|null
*
* @ORM\Column(name="PORCTB", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $porctb = NULL;
/**
* @var bool|null
*
* @ORM\Column(name="DESCATALOGADO", type="boolean", nullable=true, options={"default"="NULL"})
*/
private $descatalogado = 'NULL';
/**
* @var float|null
*
* @ORM\Column(name="PORCDEF", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
*/
private $porcdef = NULL;
/**
* @var string|null
*
* @ORM\Column(name="COSTESUPUESTO", type="string", length=1, nullable=true, options={"default"="NULL"})
*/
private $costesupuesto = 'NULL';
/**
* @var binary|null
*
* @ORM\Column(name="VERSION", type="binary", nullable=true, options={"default"="NULL"})
*/
private $version = 'NULL';
public function getIdtarifav(): ?int
{
return $this->idtarifav;
}
public function setIdtarifav(int $idtarifav): self
{
$this->idtarifav = $idtarifav;
return $this;
}
public function getCodarticulo(): ?int
{
return $this->codarticulo;
}
public function setCodarticulo(int $codarticulo): self
{
$this->codarticulo = $codarticulo;
return $this;
}
public function getTalla(): ?string
{
return $this->talla;
}
public function setTalla(?string $talla): self
{
$this->talla = $talla;
return $this;
}
public function getColor(): ?string
{
return $this->color;
}
public function setColor(?string $color): self
{
$this->color = $color;
return $this;
}
public function getPbruto(): ?float
{
return $this->pbruto;
}
public function setPbruto(?float $pbruto): self
{
$this->pbruto = $pbruto;
return $this;
}
public function getX(): ?float
{
return $this->x;
}
public function setX(?float $x): self
{
$this->x = $x;
return $this;
}
public function getY(): ?float
{
return $this->y;
}
public function setY(?float $y): self
{
$this->y = $y;
return $this;
}
public function getDto(): ?float
{
return $this->dto;
}
public function setDto(?float $dto): self
{
$this->dto = $dto;
return $this;
}
public function getPneto(): ?float
{
return $this->pneto;
}
public function setPneto(?float $pneto): self
{
$this->pneto = $pneto;
return $this;
}
public function getBeneficio(): ?float
{
return $this->beneficio;
}
public function setBeneficio(?float $beneficio): self
{
$this->beneficio = $beneficio;
return $this;
}
public function getPorcc(): ?float
{
return $this->porcc;
}
public function setPorcc(?float $porcc): self
{
$this->porcc = $porcc;
return $this;
}
public function getPorcv(): ?float
{
return $this->porcv;
}
public function setPorcv(?float $porcv): self
{
$this->porcv = $porcv;
return $this;
}
public function getFechamodificado(): ?\DateTimeInterface
{
return $this->fechamodificado;
}
public function setFechamodificado(?\DateTimeInterface $fechamodificado): self
{
$this->fechamodificado = $fechamodificado;
return $this;
}
public function getCodmoneda(): ?int
{
return $this->codmoneda;
}
public function setCodmoneda(?int $codmoneda): self
{
$this->codmoneda = $codmoneda;
return $this;
}
public function getCodformato(): ?int
{
return $this->codformato;
}
public function setCodformato(?int $codformato): self
{
$this->codformato = $codformato;
return $this;
}
public function getDtotexto(): ?string
{
return $this->dtotexto;
}
public function setDtotexto(?string $dtotexto): self
{
$this->dtotexto = $dtotexto;
return $this;
}
public function getPnetoanterior(): ?float
{
return $this->pnetoanterior;
}
public function setPnetoanterior(?float $pnetoanterior): self
{
$this->pnetoanterior = $pnetoanterior;
return $this;
}
public function getCaducidad(): ?\DateTimeInterface
{
return $this->caducidad;
}
public function setCaducidad(?\DateTimeInterface $caducidad): self
{
$this->caducidad = $caducidad;
return $this;
}
public function getPbruto2(): ?float
{
return $this->pbruto2;
}
public function setPbruto2(?float $pbruto2): self
{
$this->pbruto2 = $pbruto2;
return $this;
}
public function getDto2(): ?float
{
return $this->dto2;
}
public function setDto2(?float $dto2): self
{
$this->dto2 = $dto2;
return $this;
}
public function getPneto2(): ?float
{
return $this->pneto2;
}
public function setPneto2(?float $pneto2): self
{
$this->pneto2 = $pneto2;
return $this;
}
public function getDtotexto2(): ?string
{
return $this->dtotexto2;
}
public function setDtotexto2(?string $dtotexto2): self
{
$this->dtotexto2 = $dtotexto2;
return $this;
}
public function getDesde2(): ?\DateTimeInterface
{
return $this->desde2;
}
public function setDesde2(?\DateTimeInterface $desde2): self
{
$this->desde2 = $desde2;
return $this;
}
public function getHasta2(): ?\DateTimeInterface
{
return $this->hasta2;
}
public function setHasta2(?\DateTimeInterface $hasta2): self
{
$this->hasta2 = $hasta2;
return $this;
}
public function getPorctb(): ?float
{
return $this->porctb;
}
public function setPorctb(?float $porctb): self
{
$this->porctb = $porctb;
return $this;
}
public function getDescatalogado(): ?bool
{
return $this->descatalogado;
}
public function setDescatalogado(?bool $descatalogado): self
{
$this->descatalogado = $descatalogado;
return $this;
}
public function getPorcdef(): ?float
{
return $this->porcdef;
}
public function setPorcdef(?float $porcdef): self
{
$this->porcdef = $porcdef;
return $this;
}
public function getCostesupuesto(): ?string
{
return $this->costesupuesto;
}
public function setCostesupuesto(?string $costesupuesto): self
{
$this->costesupuesto = $costesupuesto;
return $this;
}
public function getVersion()
{
return $this->version;
}
public function setVersion($version): self
{
$this->version = $version;
return $this;
}
public function isDescatalogado(): ?bool
{
return $this->descatalogado;
}
}