<?phpnamespace App\Entity;use App\Repository\UserLogRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: UserLogRepository::class)]class UserLog{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $fisrtname = null; #[ORM\Column(length: 255)] private ?string $lastname = null; #[ORM\Column(length: 255)] private ?string $email = null; #[ORM\Column(length: 255)] private ?string $ipAddress = null; #[ORM\Column(length: 255, nullable: true)] private ?string $device = null; #[ORM\Column(nullable: true)] private ?\DateTimeImmutable $loginAt = null; #[ORM\Column(nullable: true)] private ?\DateTimeImmutable $logoutAt = null; #[ORM\Column(nullable: true)] private ?\DateTimeImmutable $lastActivityAt = null; public function getId(): ?int { return $this->id; } public function getFisrtname(): ?string { return $this->fisrtname; } public function setFisrtname(string $fisrtname): self { $this->fisrtname = $fisrtname; return $this; } public function getLastname(): ?string { return $this->lastname; } public function setLastname(string $lastname): self { $this->lastname = $lastname; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getIpAddress(): ?string { return $this->ipAddress; } public function setIpAddress(string $ipAddress): self { $this->ipAddress = $ipAddress; return $this; } public function getDevice(): ?string { return $this->device; } public function setDevice(?string $device): self { $this->device = $device; return $this; } public function getLoginAt(): ?\DateTimeImmutable { return $this->loginAt; } public function setLoginAt(?\DateTimeImmutable $loginAt): self { $this->loginAt = $loginAt !== null ? $loginAt : null; return $this; } public function getLogoutAt(): ?\DateTimeImmutable { return $this->logoutAt; } public function setLogoutAt(?\DateTimeImmutable $logoutAt): self { $this->logoutAt = $logoutAt !== null ? $logoutAt : null; return $this; } public function getLastActivityAt(): ?\DateTimeImmutable { return $this->lastActivityAt; } public function setLastActivityAt(?\DateTimeImmutable $lastActivityAt): self { $this->lastActivityAt = $lastActivityAt !== null ? $lastActivityAt : null;; return $this; }}