src/Entity/Utilisateur.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UtilisateurRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassUtilisateurRepository::class)]
  7. class Utilisateur
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $nomUtil null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $prenUtil null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $emaiUtil null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $teleUtil null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $passUtil null;
  23.     #[ORM\Column]
  24.     private ?int $typeUtil null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $logoUtil null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  28.     private ?\DateTimeInterface $lastConn null;
  29.     #[ORM\Column(length1000nullabletrue)]
  30.     private ?string $tokenDevice null;
  31.     #[ORM\Column]
  32.     private ?int $active null;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getNomUtil(): ?string
  38.     {
  39.         return $this->nomUtil;
  40.     }
  41.     public function setNomUtil(string $nomUtil): static
  42.     {
  43.         $this->nomUtil $nomUtil;
  44.         return $this;
  45.     }
  46.     public function getPrenUtil(): ?string
  47.     {
  48.         return $this->prenUtil;
  49.     }
  50.     public function setPrenUtil(string $prenUtil): static
  51.     {
  52.         $this->prenUtil $prenUtil;
  53.         return $this;
  54.     }
  55.     public function getEmaiUtil(): ?string
  56.     {
  57.         return $this->emaiUtil;
  58.     }
  59.     public function setEmaiUtil(string $emaiUtil): static
  60.     {
  61.         $this->emaiUtil $emaiUtil;
  62.         return $this;
  63.     }
  64.     public function getTeleUtil(): ?string
  65.     {
  66.         return $this->teleUtil;
  67.     }
  68.     public function setTeleUtil(string $teleUtil): static
  69.     {
  70.         $this->teleUtil $teleUtil;
  71.         return $this;
  72.     }
  73.     public function getPassUtil(): ?string
  74.     {
  75.         return $this->passUtil;
  76.     }
  77.     public function setPassUtil(string $passUtil): static
  78.     {
  79.         $this->passUtil $passUtil;
  80.         return $this;
  81.     }
  82.     public function getTypeUtil(): ?int
  83.     {
  84.         return $this->typeUtil;
  85.     }
  86.     public function setTypeUtil(int $typeUtil): static
  87.     {
  88.         $this->typeUtil $typeUtil;
  89.         return $this;
  90.     }
  91.     public function getLogoUtil(): ?string
  92.     {
  93.         return $this->logoUtil;
  94.     }
  95.     public function setLogoUtil(string $logoUtil): static
  96.     {
  97.         $this->logoUtil $logoUtil;
  98.         return $this;
  99.     }
  100.     public function getLastConn(): ?\DateTimeInterface
  101.     {
  102.         return $this->lastConn;
  103.     }
  104.     public function setLastConn(?\DateTimeInterface $lastConn): static
  105.     {
  106.         $this->lastConn $lastConn;
  107.         return $this;
  108.     }
  109.     public function getTokenDevice(): ?string
  110.     {
  111.         return $this->tokenDevice;
  112.     }
  113.     public function setTokenDevice(?string $tokenDevice): static
  114.     {
  115.         $this->tokenDevice $tokenDevice;
  116.         return $this;
  117.     }
  118.     public function getActive(): ?int
  119.     {
  120.         return $this->active;
  121.     }
  122.     public function setActive(int $active): static
  123.     {
  124.         $this->active $active;
  125.         return $this;
  126.     }
  127. }