This commit is contained in:
2020-05-16 14:54:36 +00:00
parent e82405d07f
commit 36cc5fd825

View File

@@ -17,8 +17,7 @@ namespace AyaNova.Models
public DateTime Created { get; set; } public DateTime Created { get; set; }
public uint Concurrency { get; set; } public uint Concurrency { get; set; }
// [Required]
// public long O wnerId { get; set; }
[Required] [Required]
public string Name { get; set; } public string Name { get; set; }
@@ -38,10 +37,10 @@ namespace AyaNova.Models
public string JobInfo { get; set; }//json as string of any required extra info for job public string JobInfo { get; set; }//json as string of any required extra info for job
public OpsJob(){ public OpsJob()
{
GId = new Guid(); GId = new Guid();
Created = DateTime.UtcNow; Created = DateTime.UtcNow;
// O wnerId=1;
Name = "new job"; Name = "new job";
Exclusive = false; Exclusive = false;
StartAfter = Created; StartAfter = Created;