23 lines
472 B
C#
23 lines
472 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WebAPI.Models
|
|
{
|
|
public enum LogEntryType
|
|
{
|
|
info,
|
|
warning,
|
|
error,
|
|
}
|
|
public enum LogType {
|
|
import
|
|
}
|
|
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; }
|
|
}
|
|
}
|