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

34
Models/ChatLog.cs Normal file
View File

@@ -0,0 +1,34 @@
using System;
using SqlSugar;
namespace RainOpsMini.Models
{
[SugarTable("ChatLogs")]
public class ChatLog
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
public string Type { get; set; } = "";
[SugarColumn(IsNullable = true)]
public string EosId { get; set; } = "";
[SugarColumn(IsNullable = true)]
public string SteamId { get; set; } = "";
[SugarColumn(IsNullable = true)]
public string Name { get; set; } = "";
[SugarColumn(Length = 2000)]
public string Message { get; set; } = "";
public DateTime Timestamp { get; set; }
[SugarColumn(IsNullable = true)]
public int? TeamId { get; set; }
[SugarColumn(IsNullable = true)]
public int? SquadId { get; set; }
}
}