using System.Collections.Generic;

namespace Siger.Middlelayer.IMSRepository.Response
{
    public class ResponseGetWorkorderList
    {
        public int id { get; set; }


        public int machine_type { get; set; }

        public string machineType_name { get; set; }


        public int product_id { get; set; }

        public string product_name { get; set; }

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

        /// <summary>
        /// 创建人
        /// </summary>
        public string create_name { get; set; }

        /// <summary>
        /// 需求时间
        /// </summary>
        public string date { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string route { get; set; }

        /// <summary>
        /// 零件图纸号
        /// </summary>
        public string drawcode { get; set; }
        public string machineCode { get; set; }

        public int order_status { get; set; }

        public string operator_name { get; set; }

        public int count { get; set; }

        /// <summary>
        /// 是否有 清单 0没有 1有
        /// </summary>
        public int havetoollist { get; set; }

        public int technology_id { get; set; }

        public int route_id { get; set; }
        public string tool_code { get; set; }
        public string cutter_number { get; set; }
        public List<ResponseBoomData> boom { get; set; } = new List<ResponseBoomData>();
    }
    public class ResponseBoomData
    {
        public string code { get; set; }
        public string name { get; set; }
        public string category { get; set; }
        public string categoryName { get; set; }

    }
    public class ResponseToolWorkOrder
    {
        public int id { get; set; }

        public string machineType_name { get; set; }

        /// <summary>
        /// 是否有 清单 0没有 1有
        /// </summary>
        public int havetoollist { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string route { get; set; }
        public string tool_code { get; set; }
        public string cutter_number { get; set; }
        public List<ResponseBoomData> boom { get; set; } = new List<ResponseBoomData>();
    }
}
