WIP: DataInbox
This commit is contained in:
18
WebAPI/Models/DataInbox.cs
Normal file
18
WebAPI/Models/DataInbox.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WebAPI.Models;
|
||||
|
||||
public class DataInbox
|
||||
{
|
||||
#region Properties
|
||||
[Key]
|
||||
public Guid Id { get; init; }
|
||||
[StringLength(50)]
|
||||
public required string Name { get; init; }
|
||||
[StringLength(50)]
|
||||
public required string Source { get; set; }
|
||||
[StringLength(int.MaxValue)]
|
||||
public required string Data { get; init; }
|
||||
public DateTime CreatedAt { get; init; }
|
||||
#endregion
|
||||
}
|
||||
@@ -10,7 +10,8 @@ public enum LogType {
|
||||
Import,
|
||||
Backup,
|
||||
Process,
|
||||
PowerBi
|
||||
PowerBi,
|
||||
DataInbox
|
||||
}
|
||||
public class LogEntry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user