<?php
namespace App\Entity;
use App\Repository\UserProfilRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=UserProfilRepository::class)
*/
class UserProfil
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="idUserProfil")
*/
private $id;
/**
* @ORM\Column(type="string", length=45)
*/
private $profil;
public function getId(): ?int
{
return $this->id;
}
public function getProfil(): ?string
{
return $this->profil;
}
public function setProfil(string $profil): self
{
$this->profil = $profil;
return $this;
}
}