using System; using System.ComponentModel.DataAnnotations; namespace ColdMint.scripts.database.gameDbTables; /// /// Error record /// 错误记录 /// public class ErrorRecord { /// /// Message /// 错误消息 /// [Key] [MaxLength(255)] // ReSharper disable UnusedAutoPropertyAccessor.Global public string? Message { get; set; } // ReSharper restore UnusedAutoPropertyAccessor.Global /// /// Count /// 出现次数 /// public int Count { get; set; } = 1; /// /// DateTime /// 时间 /// public DateTime LastDateTime { get; set; } = DateTime.Now; }