wcs_serve_wuxikate/WcsMain/ApiServe/Controllers/Dto/WMSEntity/WmsTask/UpdateStackerTaskStatusRequest.cs
2025-01-03 14:36:27 +08:00

35 lines
868 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Text.Json.Serialization;
using DataCheck;
namespace WcsMain.ApiServe.Controllers.Dto.WMSEntity.WmsTask;
/// <summary>
/// UpdateStackerTaskStatus 接口的请求类
/// </summary>
public class UpdateStackerTaskStatusRequest
{
/// <summary>
/// 任务编号
/// </summary>
[DataRules]
[JsonPropertyName("taskId")]
public string? TaskId { get; set; }
/// <summary>
/// 状态类型
/// </summary>
/// <remarks>
/// 0 —— 重置任务状态
/// 3 —— 完成任务
/// 999 —— 删除任务
/// </remarks>
[DataRules]
[JsonPropertyName("taskStatus")]
public int? TaskStatus { get; set; }
/// <summary>
/// 目的地WMS 重置任务时候会要求更改目的地
/// </summary>
[JsonPropertyName("destination")]
public string? Destination { get; set; }
}