using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEAWCS_DTO { /// /// 更新任务状态DTO - 用于封装更新任务状态所需的数据,包括任务ID和新状态信息 /// public class UpdateTaskDto { /// /// id - 任务ID,必填项,用于指定要更新的任务记录 /// public int Id { get; set; } /// /// newStatus - 新状态,必填项,用于指定任务的新状态 /// public int NewStatus { get; set; } /// /// NextAddress - 下一地址,必填项,用于指定任务的下一位置 /// public string? NextAddress { get; set; } /// /// currentAddress - 当前地址,必填项,用于指定任务的当前位置 /// public string? CurrentAddress { get; set; } } }