using System.Collections.Generic;

namespace Siger.Middlelayer.IMSRepository.Request
{
    public class RequestGetToolWorkorderList: RequestGetTechnology
    {
        public string order_number { get; set; }
    }

    public class RequestAddToolWorkorder
    {
        public int product_id { get; set; }

        public int machine_type { get; set; }

        public string drawcode { get; set; }

        public string order_number { get; set; }

        public int count { get; set; }

        public string date { get; set; }

        public string route { get; set; }
        public string tool_code { get; set; }
    }

    public class RequestEditToolWorkorder: RequestAddToolWorkorder
    {
        public int id { get; set; }
    }

    public class RequestAddRangeToolWorkorder
    {
        public int product_id { get; set; }

        public List<ToolWorkorderModel> workorders { get; set; }
    }

    public class ToolWorkorderModel
    {
        public int technology_id { get; set; }

        public string tool_code { get; set; }

        public int count { get; set; }

        public string date { get; set; }
    }
}
