34 lines
868 B
C#
34 lines
868 B
C#
using Newtonsoft.Json.Converters;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Egw.Data.Dto
|
|
{
|
|
public class MessageDto
|
|
{
|
|
|
|
/// <summary>
|
|
/// Context/Classe di riferimento
|
|
/// </summary>
|
|
public string Context { get; set; } = "";
|
|
/// <summary>
|
|
/// Function di riferimento
|
|
/// </summary>
|
|
public string Function { get; set; } = "";
|
|
/// <summary>
|
|
/// Livello del messaggio (rif Log.Level)
|
|
/// </summary>
|
|
public string Level { get; set; } = "";
|
|
/// <summary>
|
|
/// Messaggio completo
|
|
/// </summary>
|
|
public string Message { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// DataOra di riferimento/generazione
|
|
/// </summary>
|
|
public DateTime Timestamp { get; set; } = DateTime.Now;
|
|
}
|
|
}
|