LogsController
This commit is contained in:
22
WebAPI/Models/LogEntry.cs
Normal file
22
WebAPI/Models/LogEntry.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user