This commit is contained in:
33
server/models/OpsJobLog.cs
Normal file
33
server/models/OpsJobLog.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sockeye.Models
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Operations job log
|
||||
/// </summary>
|
||||
public class OpsJobLog
|
||||
{
|
||||
[Key]
|
||||
public Guid GId { get; set; }
|
||||
|
||||
[Required]
|
||||
public Guid JobId { get; set; }
|
||||
[Required]
|
||||
public DateTime Created { get; set; }
|
||||
[Required]
|
||||
public string StatusText { get; set; }
|
||||
|
||||
|
||||
|
||||
public OpsJobLog(){
|
||||
GId=new Guid();
|
||||
Created=DateTime.UtcNow;
|
||||
StatusText="default / not set";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user