<?php
namespace App\Entity;
use App\Repository\TypeClientRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TypeClientRepository::class)]
#[ORM\Table(name: 'type_clients')]
class TypeClient
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50)]
private ?string $intitule = null;
public function __toString(): string
{
return $this->intitule;
}
public function getId(): ?int
{
return $this->id;
}
public function getIntitule(): ?string
{
return $this->intitule;
}
public function setIntitule(string $intitule): void
{
$this->intitule = $intitule;
}
}