mirror of
https://gitee.com/xiarenalofs/squad-rain-ops-mini.git
synced 2026-08-05 04:55:52 +08:00
25 lines
596 B
C#
25 lines
596 B
C#
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;
|
|
}
|
|
}
|