<?php
namespace App\Entity;
use App\Repository\Actuv2UtilisateurRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* Actuv2Utilisateur
*
*/
#[ORM\Table(name: 'actuv2_utilisateur')]
#[ORM\Entity]
class Actuv2Utilisateur
{
/**
* @var int
*
*/
#[ORM\Column(name: 'id', type: 'bigint', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $id;
/**
* @var string
*
*/
#[ORM\Column(name: 'login', type: 'string', length: 255, nullable: false)]
private $login;
/**
* @var string
*
*/
#[ORM\Column(name: 'mdp', type: 'string', length: 50, nullable: false)]
private $mdp;
/**
* @var bool
*
*/
#[ORM\Column(name: 'droits', type: 'boolean', nullable: false)]
private $droits;
public function getId(): ?string
{
return $this->id;
}
public function getLogin(): ?string
{
return $this->login;
}
public function setLogin(string $login): self
{
$this->login = $login;
return $this;
}
public function getMdp(): ?string
{
return $this->mdp;
}
public function setMdp(string $mdp): self
{
$this->mdp = $mdp;
return $this;
}
public function getDroits(): ?bool
{
return $this->droits;
}
public function setDroits(bool $droits): self
{
$this->droits = $droits;
return $this;
}
}