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.

52 lines
1.1 KiB
C#

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