26 lines
522 B
C#
26 lines
522 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WebAPI.Models
|
|
{
|
|
public enum LogEntryType
|
|
{
|
|
info,
|
|
warning,
|
|
error,
|
|
}
|
|
public enum LogType {
|
|
import,
|
|
backup,
|
|
process,
|
|
powerBI
|
|
}
|
|
public class LogEntry
|
|
{
|
|
public LogType LogType { get; set; }
|
|
public LogEntryType Type { get; set; }
|
|
public string? Message { get; set; }
|
|
public string? Title {get; set;}
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
}
|