<?php
namespace App\Entity;
use App\Repository\BrandCategoryRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=BrandCategoryRepository::class)
*/
class BrandCategory
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $brand;
/**
* @ORM\Column(type="integer")
*/
private $category;
/**
* @ORM\Column(type="string", length=255)
*/
private $ctype;
/**
* @ORM\Column(type="boolean")
*/
private $status;
public function getId(): ?int
{
return $this->id;
}
public function getBrand(): ?int
{
return $this->brand;
}
public function setBrand(int $brand): self
{
$this->brand = $brand;
return $this;
}
public function getCategory(): ?int
{
return $this->category;
}
public function setCategory(int $category): self
{
$this->category = $category;
return $this;
}
public function getCtype(): ?string
{
return $this->ctype;
}
public function setCtype(string $ctype): self
{
$this->ctype = $ctype;
return $this;
}
public function isStatus(): ?bool
{
return $this->status;
}
public function setStatus(bool $status): self
{
$this->status = $status;
return $this;
}
}