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 uint Concurrency { get; set; }
// [Required]
// public long O wnerId { get; set; }
[Required]
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 OpsJob(){
GId=new Guid();
Created=DateTime.UtcNow;
// O wnerId=1;
Name="new job";
Exclusive=false;
StartAfter=Created;
JobType=JobType.NotSet;
ObjectId=0;
ObjectType=AyaType.NoType;
JobStatus=JobStatus.Sleeping;
JobInfo=null;
public OpsJob()
{
GId = new Guid();
Created = DateTime.UtcNow;
Name = "new job";
Exclusive = false;
StartAfter = Created;
JobType = JobType.NotSet;
ObjectId = 0;
ObjectType = AyaType.NoType;
JobStatus = JobStatus.Sleeping;
JobInfo = null;
}