| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Core;
- use ApiPlatform\Metadata\ApiResource;
- use Doctrine\ORM\Mapping as ORM;
- #[ApiResource(operations: [])]
- #[ORM\Entity]
- class LoginLog
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private int $id;
- #[ORM\Column]
- protected mixed $login;
- #[ORM\Column(type: 'integer', options: ['nullable' => true])]
- protected int $organizationId;
- #[ORM\Column]
- protected mixed $navigateur;
- #[ORM\Column]
- protected mixed $ip;
- #[ORM\Column(type: 'date', options: ['nullable' => true])]
- protected ?\DateTimeInterface $date;
- #[ORM\Column]
- protected mixed $type;
- public function getId(): int
- {
- return $this->id;
- }
- public function setId(int $id): self
- {
- $this->id = $id;
- return $this;
- }
- public function getLogin(): mixed
- {
- return $this->login;
- }
- public function setLogin(mixed $login): self
- {
- $this->login = $login;
- return $this;
- }
- public function getOrganizationId(): int
- {
- return $this->organizationId;
- }
- public function setOrganizationId(int $organizationId): self
- {
- $this->organizationId = $organizationId;
- return $this;
- }
- public function getNavigateur(): mixed
- {
- return $this->navigateur;
- }
- public function setNavigateur(mixed $navigateur): self
- {
- $this->navigateur = $navigateur;
- return $this;
- }
- public function getIp(): mixed
- {
- return $this->ip;
- }
- public function setIp(mixed $ip): self
- {
- $this->ip = $ip;
- return $this;
- }
- public function getDate(): \DateTimeInterface
- {
- return $this->date;
- }
- public function setDate(\DateTimeInterface $date): self
- {
- $this->date = $date;
- return $this;
- }
- public function getType(): mixed
- {
- return $this->type;
- }
- public function setType(mixed $type): self
- {
- $this->type = $type;
- return $this;
- }
- }
|