This commit is contained in:
28
server/AyaNova/models/IntegrationLog.cs
Normal file
28
server/AyaNova/models/IntegrationLog.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Integration log
|
||||
/// </summary>
|
||||
public class IntegrationLog
|
||||
{
|
||||
public long Id { get; set; }
|
||||
[Required]
|
||||
public Guid IntegrationAppId { get; set; }
|
||||
[Required]
|
||||
public DateTime Created { get; set; }
|
||||
[Required]
|
||||
public string StatusText { get; set; }
|
||||
|
||||
public IntegrationLog()
|
||||
{
|
||||
Created = DateTime.UtcNow;
|
||||
StatusText = "default / not set";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user