using System.ComponentModel.DataAnnotations;

namespace WCS.WorkEngineering.WebApi.Models.WCS.Request
{
    /// <summary>
    ///  处理任务请求参数
    /// </summary>
    public class HandleTaskRequest
    {
        /// <summary>
        ///  任务号
        /// </summary>
        [Required]
        public int TaskId { get; set; }

        /// <summary>
        ///  处理类型
        /// </summary>
        [Required]
        public HandleTaskTypeEnum Type { get; set; }
    }

    public enum HandleTaskTypeEnum
    {
        //重新下发AGV任务 = 1,
        取消任务 = 1,
        完成任务 = 2,
    }
}
