<?php
namespace App\Entity;
use App\Repository\UtilisateurRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UtilisateurRepository::class)]
class Utilisateur
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $nomUtil = null;
#[ORM\Column(length: 255)]
private ?string $prenUtil = null;
#[ORM\Column(length: 255)]
private ?string $emaiUtil = null;
#[ORM\Column(length: 255)]
private ?string $teleUtil = null;
#[ORM\Column(length: 255)]
private ?string $passUtil = null;
#[ORM\Column]
private ?int $typeUtil = null;
#[ORM\Column(length: 255)]
private ?string $logoUtil = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $lastConn = null;
#[ORM\Column(length: 1000, nullable: true)]
private ?string $tokenDevice = null;
#[ORM\Column]
private ?int $active = null;
public function getId(): ?int
{
return $this->id;
}
public function getNomUtil(): ?string
{
return $this->nomUtil;
}
public function setNomUtil(string $nomUtil): static
{
$this->nomUtil = $nomUtil;
return $this;
}
public function getPrenUtil(): ?string
{
return $this->prenUtil;
}
public function setPrenUtil(string $prenUtil): static
{
$this->prenUtil = $prenUtil;
return $this;
}
public function getEmaiUtil(): ?string
{
return $this->emaiUtil;
}
public function setEmaiUtil(string $emaiUtil): static
{
$this->emaiUtil = $emaiUtil;
return $this;
}
public function getTeleUtil(): ?string
{
return $this->teleUtil;
}
public function setTeleUtil(string $teleUtil): static
{
$this->teleUtil = $teleUtil;
return $this;
}
public function getPassUtil(): ?string
{
return $this->passUtil;
}
public function setPassUtil(string $passUtil): static
{
$this->passUtil = $passUtil;
return $this;
}
public function getTypeUtil(): ?int
{
return $this->typeUtil;
}
public function setTypeUtil(int $typeUtil): static
{
$this->typeUtil = $typeUtil;
return $this;
}
public function getLogoUtil(): ?string
{
return $this->logoUtil;
}
public function setLogoUtil(string $logoUtil): static
{
$this->logoUtil = $logoUtil;
return $this;
}
public function getLastConn(): ?\DateTimeInterface
{
return $this->lastConn;
}
public function setLastConn(?\DateTimeInterface $lastConn): static
{
$this->lastConn = $lastConn;
return $this;
}
public function getTokenDevice(): ?string
{
return $this->tokenDevice;
}
public function setTokenDevice(?string $tokenDevice): static
{
$this->tokenDevice = $tokenDevice;
return $this;
}
public function getActive(): ?int
{
return $this->active;
}
public function setActive(int $active): static
{
$this->active = $active;
return $this;
}
}