using System.Collections.Generic;

namespace Siger.Middlelayer.TlmRepository.Request
{
    public class RequestAddTechTool
    {
        public string location { get; set; }

        public string tool_model { get; set; }

        public string handle_model { get; set; }

        public string flute_length { get; set; }

        public string flute_count { get; set; }

        public string down_length { get; set; }

        public string reach_length { get; set; }

        public string upper_tolerance { get; set; }

        public string down_tolerance { get; set; }

        public string remark { get; set; }

        public string product_id { get; set; }

        public string machine_type { get; set; }

        public string draw_code { get; set; }

        public string rated_life { get; set; }

        public List<AddMaterial> Materials { get; set; } = new List<AddMaterial>();

        public string route { get; set; }
        /// <summary>
        /// 刀具号
        /// </summary>
        public string tool_code { get; set; }
    }

    public class AddMaterial
    {
        public string part_no { get; set; }

        public string quantity { get; set; }
    }

    public class RequestEditTechTool : RequestAddTechTool
    {
        public int id { get; set; }
    }
}
