namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task { public class TaskGetOutput { /// /// 作业 Id /// public string JobId { get; internal set; } /// /// 作业组名称 /// public string GroupName { get; internal set; } /// /// 作业处理程序类型 /// /// 存储的是类型的 FullName public string JobType { get; internal set; } /// /// 作业处理程序类型所在程序集 /// /// 存储的是程序集 Name public string AssemblyName { get; internal set; } /// /// 描述信息 /// public string Description { get; internal set; } /// /// 是否采用并行执行 /// /// 如果设置为 false,那么使用串行执行 public bool Concurrent { get; internal set; } = true; /// /// 是否扫描 IJob 实现类 [Trigger] 特性触发器 /// public bool IncludeAnnotations { get; internal set; } = false; /// /// 作业信息额外数据 /// public string Properties { get; internal set; } = "{}"; /// /// 作业更新时间 /// public DateTime? UpdatedTime { get; internal set; } /// /// 标记其他作业正在执行 /// /// 为 false 时有效,也就是串行执行 internal bool Blocked { get; set; } = false; /// /// 作业处理程序运行时类型 /// internal string RuntimeJobType { get; set; } /// /// 作业信息额外数据运行时实例 /// internal string RuntimeProperties { get; set; } public string TriggerArgs { get; set; } public DateTime? NextRunTime { get; set; } public DateTime? LastRunTime { get; set; } public long NumberOfRuns { get; set; } } }