src/Entity/BrandDiscount.php line 9
<?php
namespace App\Entity;
use App\Repository\BrandDiscountRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BrandDiscountRepository::class)]
class BrandDiscount
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(name: 'brandName', type: 'string', length: 255, nullable: false)]
private ?string $brandName;
#[ORM\Column(name: 'rebateLow', type: 'integer', nullable: false)]
private ?int $rebateLow;
#[ORM\Column(name: 'rebateHeigh', type: 'integer', nullable: false)]
private ?int $rebateHeigh;
#[ORM\Column(name: 'active', type: 'boolean')]
private ?bool $active;
public function getId(): ?int
{
return $this->id;
}
/**
* @return string|null
*/
public function getBrandName(): ?string
{
return $this->brandName;
}
/**
* @param string|null $brandName
*/
public function setBrandName(?string $brandName): void
{
$this->brandName = $brandName;
}
/**
* @return int|null
*/
public function getRebateLow(): ?int
{
return $this->rebateLow;
}
/**
* @param int|null $rebateLow
*/
public function setRebateLow(?int $rebateLow): void
{
$this->rebateLow = $rebateLow;
}
/**
* @return int|null
*/
public function getRebateHeigh(): ?int
{
return $this->rebateHeigh;
}
/**
* @param int|null $rebateHeigh
*/
public function setRebateHeigh(?int $rebateHeigh): void
{
$this->rebateHeigh = $rebateHeigh;
}
/**
* @return bool|null
*/
public function getActive(): ?bool
{
return $this->active;
}
/**
* @param bool|null $active
*/
public function setActive(?bool $active): void
{
$this->active = $active;
}
}