<?php
namespace App\Entity;
use App\Repository\PriceProductRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PriceProductRepository::class)
*/
class PriceProduct
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Product::class, inversedBy="priceProducts")
* @ORM\JoinColumn(nullable=false)
*/
private $product;
/**
* @ORM\Column(type="decimal", precision=10, scale=2)
*/
private $priceDealer;
/**
* @ORM\Column(type="decimal", precision=8, scale=2)
*/
private $nbrDealerProd;
/**
* @ORM\Column(type="decimal", precision=10, scale=2)
*/
private $priceCustomer;
/**
* @ORM\Column(type="decimal", precision=10, scale=2)
*/
private $priceBulkCustomer;
/**
* @ORM\Column(type="decimal", precision=8, scale=2)
*/
private $nbrBulkProd;
/**
* @ORM\Column(type="decimal", precision=6, scale=2)
*/
private $taxeProduct;
public function getId(): ?int
{
return $this->id;
}
public function getProduct(): ?Product
{
return $this->product;
}
public function setProduct(?Product $product): self
{
$this->product = $product;
return $this;
}
public function getPriceDealer(): ?string
{
return $this->priceDealer;
}
public function setPriceDealer(string $priceDealer): self
{
$this->priceDealer = $priceDealer;
return $this;
}
public function getNbrDealerProd(): ?string
{
return $this->nbrDealerProd;
}
public function setNbrDealerProd(string $nbrDealerProd): self
{
$this->nbrDealerProd = $nbrDealerProd;
return $this;
}
public function getPriceCustomer(): ?string
{
return $this->priceCustomer;
}
public function setPriceCustomer(string $priceCustomer): self
{
$this->priceCustomer = $priceCustomer;
return $this;
}
public function getPriceBulkCustomer(): ?string
{
return $this->priceBulkCustomer;
}
public function setPriceBulkCustomer(string $priceBulkCustomer): self
{
$this->priceBulkCustomer = $priceBulkCustomer;
return $this;
}
public function getNbrBulkProd(): ?string
{
return $this->nbrBulkProd;
}
public function setNbrBulkProd(string $nbrBulkProd): self
{
$this->nbrBulkProd = $nbrBulkProd;
return $this;
}
public function getTaxeProduct(): ?string
{
return $this->taxeProduct;
}
public function setTaxeProduct(string $taxeProduct): self
{
$this->taxeProduct = $taxeProduct;
return $this;
}
}