login logout logs

This commit is contained in:
hydrant
2021-04-19 12:17:56 +02:00
parent 06de6ef1a4
commit f0b2eca560
8 changed files with 2211 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ReallifeGamemode.Database.Entities.Logs
{
public class LoginLogoutLogEntry
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public string Username { get; set; }
public string SocialClubName { get; set; }
public User User { get; set; }
public long PlayerId { get; set; }
public string IpAddress { get; set; }
public bool LoginLogout { get; set; }
public DateTime Time { get; set; }
}
}