Code refactor finished
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace WebAPI.Models;
|
||||
|
||||
namespace WebAPI.Models
|
||||
public enum LogEntryType
|
||||
{
|
||||
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; }
|
||||
}
|
||||
Info,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
public enum LogType {
|
||||
Import,
|
||||
Backup,
|
||||
Process,
|
||||
PowerBi
|
||||
}
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user