using System.Collections.Generic;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestAddSchedule
    {
        /// <summary>
        /// 计划ID
        /// </summary>
        public int planId { get; set; }

        public IEnumerable<WorkOrderInfo> orders { get; set; }
    }

    public class WorkOrderInfo
    {
        /// <summary>
        /// 工令单号
        /// </summary>
        public string orderNumber { get; set; }

        /// <summary>
        /// 产线ID
        /// </summary>
        public int levelId { get; set; }

        /// <summary>
        /// 批次数量
        /// </summary>
        public int count { get; set; }

        /// <summary>
        /// 工位ID
        /// </summary>
        public int sectionId { get; set; }

        public string startTime { get; set; }

        public string endTime { get; set; }

        public int cycleTime { get; set; }
    }
}
