* @category Class * @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License * @link www.splendidbear.org * @since 2026. 04. 09. */ #[Entity(repositoryClass: GamerRepository::class)] class Gamer { #[Id, GeneratedValue, Column] private ?int $id = null; #[Column(length: 100)] private ?string $userName = null; #[Column(length: 20, nullable: true)] private ?string $ip = null; #[Column(length: 100, nullable: true)] private ?string $country = null; #[Column(nullable: true)] private ?string $userAgent = null; #[Column(type: Types::DATETIME_MUTABLE)] private ?DateTime $connTimestamp = null; public function getId(): ?int { return $this->id; } public function getUserName(): ?string { return $this->userName; } public function setUserName(?string $userName): void { $this->userName = $userName; } public function getIp(): ?string { return $this->ip; } public function setIp(?string $ip): void { $this->ip = $ip; } public function getCountry(): ?string { return $this->country; } public function setCountry(?string $country): void { $this->country = $country; } public function getUserAgent(): ?string { return $this->userAgent; } public function setUserAgent(?string $userAgent): void { $this->userAgent = $userAgent; } public function getConnTimestamp(): ?DateTime { return $this->connTimestamp; } public function setConnTimestamp(?DateTime $connTimestamp): void { $this->connTimestamp = $connTimestamp; } }