This commit is contained in:
35
server/AyaNova/models/OpsJobLog.cs
Normal file
35
server/AyaNova/models/OpsJobLog.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Operations job log
|
||||
/// </summary>
|
||||
public partial 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