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,18 +37,18 @@ 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(); {
Created=DateTime.UtcNow; GId = new Guid();
// O wnerId=1; Created = DateTime.UtcNow;
Name="new job"; Name = "new job";
Exclusive=false; Exclusive = false;
StartAfter=Created; StartAfter = Created;
JobType=JobType.NotSet; JobType = JobType.NotSet;
ObjectId=0; ObjectId = 0;
ObjectType=AyaType.NoType; ObjectType = AyaType.NoType;
JobStatus=JobStatus.Sleeping; JobStatus = JobStatus.Sleeping;
JobInfo=null; JobInfo = null;
} }