namespace Siger.Middlelayer.TlmRepository.Response
{
    public class ResponseGetMaterials
    {
        public int id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string part_no { get; set; }

        public string category { get; set; }

        public string supplier { get; set; }

        public int isselected { get; set; }

        public int quantity { get; set; }

        public string spec { get; set; }
    }

    public class ResponseGetMaterialList : ResponseGetMaterials
    {
        public int grind { get; set; }

        public int supplier_id { get; set; }
    }

    public class ResponseGetToolChoiceMaterials 
    {
        public int material_id { get; set; }

        /// <summary>
        /// 物料料号
        /// </summary>
        public string part_no { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string material_name { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public int supplier_id { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string supplier { get; set; }

        /// <summary>
        /// 位置
        /// </summary>
        public string position { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int quantity { get; set; }

        /// <summary>
        /// 领用数量
        /// </summary>
        public int collar_use { get; set; }
    }

    public class ResponseGetToolStockMaterials : ResponseGetToolChoiceMaterials
    {
        public int storage_id { get; set; }

        /// <summary>
        /// 序号/批次号
        /// </summary>
        public string serial_number { get; set; }

        public int manage_mode { get; set; }
    }
}
