using System; using SqlSugar; namespace RainOpsMini.Models { [SugarTable("ServerInfoLogs")] public class ServerInfoLog { [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } public DateTime Timestamp { get; set; } public int PlayerCount { get; set; } public int MaxPlayers { get; set; } [SugarColumn(Length = 255)] public string MapName { get; set; } = string.Empty; [SugarColumn(Length = 255, IsNullable = true)] public string ServerName { get; set; } = string.Empty; } }