src/Entity/PriceProduct.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PriceProductRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PriceProductRepository::class)
  7.  */
  8. class PriceProduct
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Product::class, inversedBy="priceProducts")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $product;
  21.     /**
  22.      * @ORM\Column(type="decimal", precision=10, scale=2)
  23.      */
  24.     private $priceDealer;
  25.     /**
  26.      * @ORM\Column(type="decimal", precision=8, scale=2)
  27.      */
  28.     private $nbrDealerProd;
  29.     /**
  30.      * @ORM\Column(type="decimal", precision=10, scale=2)
  31.      */
  32.     private $priceCustomer;
  33.     /**
  34.      * @ORM\Column(type="decimal", precision=10, scale=2)
  35.      */
  36.     private $priceBulkCustomer;
  37.     /**
  38.      * @ORM\Column(type="decimal", precision=8, scale=2)
  39.      */
  40.     private $nbrBulkProd;
  41.     /**
  42.      * @ORM\Column(type="decimal", precision=6, scale=2)
  43.      */
  44.     private $taxeProduct;
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getProduct(): ?Product
  50.     {
  51.         return $this->product;
  52.     }
  53.     public function setProduct(?Product $product): self
  54.     {
  55.         $this->product $product;
  56.         return $this;
  57.     }
  58.     public function getPriceDealer(): ?string
  59.     {
  60.         return $this->priceDealer;
  61.     }
  62.     public function setPriceDealer(string $priceDealer): self
  63.     {
  64.         $this->priceDealer $priceDealer;
  65.         return $this;
  66.     }
  67.     public function getNbrDealerProd(): ?string
  68.     {
  69.         return $this->nbrDealerProd;
  70.     }
  71.     public function setNbrDealerProd(string $nbrDealerProd): self
  72.     {
  73.         $this->nbrDealerProd $nbrDealerProd;
  74.         return $this;
  75.     }
  76.     public function getPriceCustomer(): ?string
  77.     {
  78.         return $this->priceCustomer;
  79.     }
  80.     public function setPriceCustomer(string $priceCustomer): self
  81.     {
  82.         $this->priceCustomer $priceCustomer;
  83.         return $this;
  84.     }
  85.     public function getPriceBulkCustomer(): ?string
  86.     {
  87.         return $this->priceBulkCustomer;
  88.     }
  89.     public function setPriceBulkCustomer(string $priceBulkCustomer): self
  90.     {
  91.         $this->priceBulkCustomer $priceBulkCustomer;
  92.         return $this;
  93.     }
  94.     public function getNbrBulkProd(): ?string
  95.     {
  96.         return $this->nbrBulkProd;
  97.     }
  98.     public function setNbrBulkProd(string $nbrBulkProd): self
  99.     {
  100.         $this->nbrBulkProd $nbrBulkProd;
  101.         return $this;
  102.     }
  103.     public function getTaxeProduct(): ?string
  104.     {
  105.         return $this->taxeProduct;
  106.     }
  107.     public function setTaxeProduct(string $taxeProduct): self
  108.     {
  109.         $this->taxeProduct $taxeProduct;
  110.         return $this;
  111.     }
  112. }