src/Entity/Actuv2Utilisateur.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\Actuv2UtilisateurRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Actuv2Utilisateur
  7.  *
  8.  */
  9. #[ORM\Table(name'actuv2_utilisateur')]
  10. #[ORM\Entity]
  11. class Actuv2Utilisateur
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      */
  17.     #[ORM\Column(name'id'type'bigint'nullablefalse)]
  18.     #[ORM\Id]
  19.     #[ORM\GeneratedValue(strategy'IDENTITY')]
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      */
  25.     #[ORM\Column(name'login'type'string'length255nullablefalse)]
  26.     private $login;
  27.     /**
  28.      * @var string
  29.      *
  30.      */
  31.     #[ORM\Column(name'mdp'type'string'length50nullablefalse)]
  32.     private $mdp;
  33.     /**
  34.      * @var bool
  35.      *
  36.      */
  37.     #[ORM\Column(name'droits'type'boolean'nullablefalse)]
  38.     private $droits;
  39.     public function getId(): ?string
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getLogin(): ?string
  44.     {
  45.         return $this->login;
  46.     }
  47.     public function setLogin(string $login): self
  48.     {
  49.         $this->login $login;
  50.         return $this;
  51.     }
  52.     public function getMdp(): ?string
  53.     {
  54.         return $this->mdp;
  55.     }
  56.     public function setMdp(string $mdp): self
  57.     {
  58.         $this->mdp $mdp;
  59.         return $this;
  60.     }
  61.     public function getDroits(): ?bool
  62.     {
  63.         return $this->droits;
  64.     }
  65.     public function setDroits(bool $droits): self
  66.     {
  67.         $this->droits $droits;
  68.         return $this;
  69.     }
  70. }