using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace StartServerWPF.Modules.Main.Models { public class LogMessageModel { public string LogType { get; set; } public string AppName { get; set; } public string State { get; set; } public DateTime OriginTime { get; set; } public string Message { get; set; } public string Oprate { get; set; } public override string ToString() { string str = $"{OriginTime.ToString("s")} {LogType} {AppName} {State} "; return str; } } }