Initial commit: add RainOpsMini project and documentation

This commit is contained in:
zhanghao0915
2026-05-18 16:41:05 +08:00
commit 2449d26916
216 changed files with 37704 additions and 0 deletions

24
Models/ServerInfoLog.cs Normal file
View File

@@ -0,0 +1,24 @@
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;
}
}