mirror of
https://gitee.com/xiarenalofs/squad-rain-ops-mini.git
synced 2026-08-06 13:26:25 +08:00
35 lines
907 B
C#
35 lines
907 B
C#
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; }
|
|
}
|
|
}
|