<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\PackagePriceRepo")
* @ORM\Table(name="package_price")
*/
class PackagePrice
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $priceId=0;
/**
* @ORM\Column(type="float", nullable=true)
*/
protected $nettoValue;
/**
* @ORM\Column(type="float", nullable=true)
*/
protected $bruttoValue;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $priceMode = 'netto';
/**
* @ORM\Column(type="integer")
*/
protected $priceLevelId=0;
/**
* @ORM\Column(type="integer")
*/
protected $productId=0;
public function getPriceId(): ?int
{
return $this->priceId;
}
public function getNettoValue(): ?float
{
return $this->nettoValue;
}
public function setNettoValue(?float $nettoValue): static
{
$this->nettoValue = $nettoValue;
return $this;
}
public function getBruttoValue(): ?float
{
return $this->bruttoValue;
}
public function setBruttoValue(?float $bruttoValue): static
{
$this->bruttoValue = $bruttoValue;
return $this;
}
public function getPriceMode(): ?string
{
return $this->priceMode;
}
public function setPriceMode(?string $priceMode): static
{
$this->priceMode = $priceMode;
return $this;
}
public function getPriceLevelId(): ?int
{
return $this->priceLevelId;
}
public function setPriceLevelId(int $priceLevelId): static
{
$this->priceLevelId = $priceLevelId;
return $this;
}
public function getProductId(): ?int
{
return $this->productId;
}
public function setProductId(int $productId): static
{
$this->productId = $productId;
return $this;
}
}