using System;
using System.Collections.Generic;

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ResponseGetOrders
    {
        public int id { get; set; }
        public int planId { get; set; }

        public int levelId { get; set; }

        public string orderNumber { get; set; }

        /// <summary>
        /// _product 表 id
        /// </summary>
        public int product_id { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string product_name { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string product_code { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 工令单 派工数量
        /// </summary>
        public int quantity { get; set; }

        /// <summary>
        /// 已生产数量
        /// </summary>
        public int producted_number { get; set; }

        /// <summary>
        /// 交付时间
        /// </summary>
        public int delivery_time { get; set; }

        public int status { get; set; }

        /// <summary>
        /// 差额
        /// </summary>
        public int difference { get; set; }

        public string routes { get; set; } = string.Empty;

        public IList<int> route_ids { get; set; } = new List<int>();

        public DateTime addTime { get; set; }

        public int ok_number { get; set; }

        public int nok_number { get; set; }

        public decimal rate { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public int FinishTime { get; set; }

        public int StartTime { get; set; }

        public int EndTime { get; set; }

        public string report_routes { get; set; } = string.Empty;

        public int report_routeId { get; set; } = 0;

        public string partnumber { get; set; } = string.Empty;

    }
}
