src/Entity/SousCategories.php line 9
<?php
namespace App\Entity;
use App\Repository\SousCategoriesRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SousCategoriesRepository::class)]
class SousCategories
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $titre = null;
#[ORM\Column(length: 255)]
private ?string $urlImg = null;
#[ORM\Column]
private ?int $idCategorie = null;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): static
{
$this->titre = $titre;
return $this;
}
public function getUrlImg(): ?string
{
return $this->urlImg;
}
public function setUrlImg(string $urlImg): static
{
$this->urlImg = $urlImg;
return $this;
}
public function getIdCategorie(): ?int
{
return $this->idCategorie;
}
public function setIdCategorie(int $idCategorie): static
{
$this->idCategorie = $idCategorie;
return $this;
}
}