<?php
namespace App\Entity;
use App\Repository\SousCategorieRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SousCategorieRepository::class)
*/
class SousCategorie
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=CategoriProduct::class)
*/
private $fkcategorie;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
public function getId(): ?int
{
return $this->id;
}
public function getFkcategorie(): ?CategoriProduct
{
return $this->fkcategorie;
}
public function setFkcategorie(?CategoriProduct $fkcategorie): self
{
$this->fkcategorie = $fkcategorie;
return $this;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
}