<?php
namespace App\Entity\OnlineShop;
use App\Entity\AbstractBase;
use App\Repository\OnlineShop\VolumeDiscountRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Table(name="vulco_volume_discount")
* @ORM\Entity(repositoryClass=VolumeDiscountRepository::class)
* @Gedmo\SoftDeleteable(fieldName="removedAt", timeAware=false)
*/
class VolumeDiscount extends AbstractBase
{
/**
* @ORM\Column(type="integer")
*/
private int $volume;
/**
* @ORM\Column(type="integer")
*/
private int $rateDiscount;
/**
* @ORM\Column(type="integer")
*/
private int $costDiscount;
public function getVolume(): int
{
return $this->volume;
}
public function setVolume(int $volume): self
{
$this->volume = $volume;
return $this;
}
public function getRateDiscount(): int
{
return $this->rateDiscount;
}
public function setRateDiscount(int $rateDiscount): self
{
$this->rateDiscount = $rateDiscount;
return $this;
}
public function getCostDiscount(): int
{
return $this->costDiscount;
}
public function setCostDiscount(int $costDiscount): self
{
$this->costDiscount = $costDiscount;
return $this;
}
}