Files
raven/server/AyaNova/models/OpsJobLog.cs
2020-05-08 14:16:59 +00:00

34 lines
641 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.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";
}
}
}