using DS.WMS.Core.TaskInteraction.Entity;
using Masuit.Tools.Systems;
namespace DS.WMS.Core.TaskInteraction.Dtos
{
///
/// 任务步骤
///
public class TaskStepDto
{
///
/// ID
///
public long Id { get; set; }
///
/// 任务ID
///
public long TaskId { get; set; }
///
/// 步骤类型
///
public StepType Type { get; set; }
///
/// 步骤类型名称
///
public string TypeName => Type.GetDescription();
///
/// 名称
///
public string? Name { get; set; }
///
/// 值
///
public object? Value { get; set; }
///
/// 是否已完成
///
public bool IsCompleted { get; set; }
///
/// 优先级
///
public int? Priority { get; set; }
}
}