feat: 添加定时任务及演示模块的更新
This commit is contained in:
@@ -14,13 +14,13 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
||||
|
||||
public JobTypeEnum Type { get; set; }
|
||||
|
||||
public string Cron { get; set; }
|
||||
public string? Cron { get; set; }
|
||||
|
||||
public int Millisecond { get; set; }
|
||||
public int? Millisecond { get; set; }
|
||||
|
||||
public bool Concurrent { get; set; }
|
||||
|
||||
//public Dictionary<string, object>? Properties { get; set; }
|
||||
// public Dictionary<string, object>? Properties { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
||||
{
|
||||
public class TaskGetListInput : PagedAllResultRequestDto
|
||||
{
|
||||
public string JobId { get; set; }
|
||||
public string GroupName { get; set; }
|
||||
public string? JobId { get; set; }
|
||||
public string? GroupName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
/// 作业更新时间
|
||||
/// </summary>
|
||||
|
||||
public DateTime? UpdatedTime { get; internal set; }
|
||||
public DateTime? LastRunTime { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标记其他作业正在执行
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
||||
using Yi.Framework.Rbac.Domain.Shared.Enums;
|
||||
|
||||
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
||||
{
|
||||
public class TaskGetOutput
|
||||
{
|
||||
@@ -68,5 +70,15 @@
|
||||
public DateTime? LastRunTime { get; set; }
|
||||
|
||||
public long NumberOfRuns { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器类型
|
||||
/// </summary>
|
||||
public JobTypeEnum Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,18 +7,18 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
||||
public string AssemblyName { get; set; }
|
||||
|
||||
public string JobType { get; set; }
|
||||
|
||||
public string JobId { get; set; }
|
||||
public string? GroupName { get; set; }
|
||||
|
||||
public JobTypeEnum Type { get; set; }
|
||||
|
||||
public string? Cron { get; set; }
|
||||
|
||||
public int Millisecond { get; set; }
|
||||
public int? Millisecond { get; set; }
|
||||
|
||||
public bool Concurrent { get; set; }
|
||||
|
||||
// public Dictionary<string, object>? Properties { get; set; }
|
||||
// public Dictionary<string, object>? Properties { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user