Files
squad-rain-ops-mini/Models/ChatLog.cs

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; }
}
}