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,
|
2024-08-25 16:45:36 +02:00
|
|
|
DataInbox,
|
|
|
|
|
Queue
|
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; }
|
|
|
|
|
}
|