Files
DiunaBI/WebAPI/Models/LogEntry.cs

23 lines
412 B
C#
Raw Normal View History

2024-06-18 22:02:19 +02:00
namespace WebAPI.Models;
2023-08-29 14:55:31 +02:00
2024-06-18 22:02:19 +02:00
public enum LogEntryType
2023-08-29 14:55:31 +02:00
{
2024-06-18 22:02:19 +02:00
Info,
Warning,
Error
2023-08-29 14:55:31 +02:00
}
2024-06-18 22:02:19 +02:00
public enum LogType {
Import,
Backup,
Process,
2024-07-03 19:03:52 +02:00
PowerBi,
DataInbox
2024-06-18 22:02:19 +02:00
}
public class LogEntry
{
public LogType LogType { get; init; }
public LogEntryType Type { get; init; }
public string? Message { get; init; }
public string? Title {get; init;}
public DateTime CreatedAt { get; init; }
}