mirror of
https://gitee.com/xiarenalofs/squad-rain-ops-mini.git
synced 2026-08-10 06:56:06 +08:00
Initial commit: add RainOpsMini project and documentation
This commit is contained in:
34
Models/ChatLog.cs
Normal file
34
Models/ChatLog.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user