This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user