This commit is contained in:
34
server/models/IntegrationLog.cs
Normal file
34
server/models/IntegrationLog.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sockeye.Models
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Integration log
|
||||
/// </summary>
|
||||
public class IntegrationLog
|
||||
{
|
||||
public long Id { get; set; }
|
||||
[Required]
|
||||
public long IntegrationId { get; set; }
|
||||
[Required]
|
||||
public DateTime Created { get; set; }
|
||||
[Required]
|
||||
public string StatusText { get; set; }
|
||||
|
||||
public IntegrationLog()
|
||||
{
|
||||
Created = DateTime.UtcNow;
|
||||
StatusText = "default / not set";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// CREATE TABLE [dbo].[AINTEGRATIONLOG](
|
||||
// [ACREATED] [datetime] NOT NULL,
|
||||
// [ACREATOR] [uniqueidentifier] NOT NULL,
|
||||
// [AINTEGRATIONID] [uniqueidentifier] NOT NULL,
|
||||
// [AMESSAGE] [nvarchar](500) NOT NULL
|
||||
Reference in New Issue
Block a user