You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
632 B
C#

using DS.Module.Core;
using DS.WMS.Core.TaskInteraction.Entity;
namespace DS.WMS.Core.TaskInteraction.Dtos
{
/// <summary>
/// 定时任务执行上下文
/// </summary>
public class TaskJobContext
{
/// <summary>
/// 任务信息
/// </summary>
public TaskJob JobInfo { get; set; }
/// <summary>
/// 任务参数
/// </summary>
public IDictionary<string, object?>? AdditionalData { get; set; }
/// <summary>
/// 执行结果
/// </summary>
public DataResult Result { get; set; } = DataResult.Success;
}
}