<?php
namespace App\Entity;
use App\Repository\HtProformaItemsRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=HtProformaItemsRepository::class)
*/
class HtProformaItems
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=HtProforma::class, inversedBy="htProformaItems")
* @ORM\JoinColumn(nullable=false)
*/
private $proforma;
/**
* @ORM\Column(type="integer")
*/
private $htFile;
/**
* @ORM\Column(type="string", length=50)
*/
private $itemType;
/**
* @ORM\Column(type="integer")
*/
private $itemIdOrigin;
/**
* @ORM\Column(type="string", length=512)
*/
private $itemName;
/**
* @ORM\Column(type="datetime")
*/
private $itemDateStart;
/**
* @ORM\Column(type="datetime")
*/
private $itemDateEnd;
/**
* @ORM\Column(type="float")
*/
private $itemPrice;
/**
* @ORM\Column(type="integer")
*/
private $itemUnits;
/**
* @ORM\Column(type="integer")
*/
private $itemPax;
/**
* @ORM\Column(type="float")
*/
private $itemKgLt;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $itemRank;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $itemLocation;
/**
* @ORM\Column(type="integer")
* Tipo de IVA 0, 10, 21%
*/
private $itemIva;
/**
* @ORM\Column(type="boolean")
*/
private $itemOpIva;
/**
* @ORM\Column(type="float")
*/
private $itemCommission;
/**
* @ORM\Column(type="boolean")
*/
private $itemOpCommission;
/**
* @ORM\Column(type="float")
*/
private $itemOver;
/**
* @ORM\Column(type="boolean")
*/
private $itemOpOver;
/**
* @ORM\Column(type="float")
*/
private $itemSubTotalPrice;
/**
* @ORM\Column(type="float")
*/
private $itemCosteDirecto;
/**
* @ORM\Column(type="float")
*/
private $itemBeneficio;
public function getId(): ?int
{
return $this->id;
}
public function getProforma(): ?HtProforma
{
return $this->proforma;
}
public function setProforma(?HtProforma $proforma): self
{
$this->proforma = $proforma;
return $this;
}
public function getHtFile(): ?int
{
return $this->htFile;
}
public function setHtFile(int $htFile): self
{
$this->htFile = $htFile;
return $this;
}
public function getItemType(): ?string
{
return $this->itemType;
}
public function setItemType(string $itemType): self
{
$this->itemType = $itemType;
return $this;
}
public function getItemIdOrigin(): ?int
{
return $this->itemIdOrigin;
}
public function setItemIdOrigin(int $itemIdOrigin): self
{
$this->itemIdOrigin = $itemIdOrigin;
return $this;
}
public function getItemName(): ?string
{
return $this->itemName;
}
public function setItemName(string $itemName): self
{
$this->itemName = $itemName;
return $this;
}
public function getItemDateStart(): ?\DateTimeInterface
{
return $this->itemDateStart;
}
public function setItemDateStart(\DateTimeInterface $itemDateStart): self
{
$this->itemDateStart = $itemDateStart;
return $this;
}
public function getItemDateEnd(): ?\DateTimeInterface
{
return $this->itemDateEnd;
}
public function setItemDateEnd(\DateTimeInterface $itemDateEnd): self
{
$this->itemDateEnd = $itemDateEnd;
return $this;
}
public function getItemPrice(): ?float
{
return $this->itemPrice;
}
public function setItemPrice(float $itemPrice): self
{
$this->itemPrice = $itemPrice;
return $this;
}
public function getItemUnits(): ?int
{
return $this->itemUnits;
}
public function setItemUnits(int $itemUnits): self
{
$this->itemUnits = $itemUnits;
return $this;
}
public function getItemPax(): ?int
{
return $this->itemPax;
}
public function setItemPax(int $itemPax): self
{
$this->itemPax = $itemPax;
return $this;
}
public function getItemKgLt(): ?float
{
return $this->itemKgLt;
}
public function setItemKgLt(float $itemKgLt): self
{
$this->itemKgLt = $itemKgLt;
return $this;
}
public function getItemRank(): ?int
{
return $this->itemRank;
}
public function setItemRank(?int $itemRank): self
{
$this->itemRank = $itemRank;
return $this;
}
public function getItemLocation(): ?string
{
return $this->itemLocation;
}
public function setItemLocation(?string $itemLocation): self
{
$this->itemLocation = $itemLocation;
return $this;
}
public function getItemIva(): ?int
{
return $this->itemIva;
}
public function setItemIva(int $itemIva): self
{
$this->itemIva = $itemIva;
return $this;
}
public function isItemOpIva(): ?bool
{
return $this->itemOpIva;
}
public function setItemOpIva(bool $itemOpIva): self
{
$this->itemOpIva = $itemOpIva;
return $this;
}
public function getItemCommission(): ?float
{
return $this->itemCommission;
}
public function setItemCommission(float $itemCommission): self
{
$this->itemCommission = $itemCommission;
return $this;
}
public function isItemOpCommission(): ?bool
{
return $this->itemOpCommission;
}
public function setItemOpCommission(bool $itemOpCommission): self
{
$this->itemOpCommission = $itemOpCommission;
return $this;
}
public function getItemOver(): ?float
{
return $this->itemOver;
}
public function setItemOver(float $itemOver): self
{
$this->itemOver = $itemOver;
return $this;
}
public function isItemOpOver(): ?bool
{
return $this->itemOpOver;
}
public function setItemOpOver(bool $itemOpOver): self
{
$this->itemOpOver = $itemOpOver;
return $this;
}
public function getItemSubTotalPrice(): ?float
{
return $this->itemSubTotalPrice;
}
public function setItemSubTotalPrice(float $itemSubTotalPrice): self
{
$this->itemSubTotalPrice = $itemSubTotalPrice;
return $this;
}
public function getItemCosteDirecto(): ?float
{
return $this->itemCosteDirecto;
}
public function setItemCosteDirecto(float $itemCosteDirecto): self
{
$this->itemCosteDirecto = $itemCosteDirecto;
return $this;
}
public function getItemBeneficio(): ?float
{
return $this->itemBeneficio;
}
public function setItemBeneficio(float $itemBeneficio): self
{
$this->itemBeneficio = $itemBeneficio;
return $this;
}
}