using System;
using System.Collections.Generic;
using System.Text;

namespace AutoTurnOver.Models.ApiDto
{
    /// <summary>
    /// 半成品库存
    /// </summary>
    public class wip_material_full_stock_dto
    {
        public int material_id { get; set; }

        public int warehouse_id { get; set; }

        /// <summary>
        /// 安全库存
        /// </summary>
        public decimal safe_inventory { get; set; }

        /// <summary>
        /// 总库存
        /// </summary>
        public decimal stock { get; set; }
        public string sup_name { get; set; }

        public decimal jit_stock { get; set; }

        public decimal plan_stock { get; set; }


        public string warehouse_name { get; set; }

        public string material_code { get; set; }
        public string material_name { get; set; }

        /// <summary>
        /// 最新报价
        /// </summary>
        public decimal? new_price { get; set; }

        public string material_category { get; set; }

        public string order_detail { get; set; }
    }

    public class wip_sys_api_dto
    {
        public bool success { get; set; }
        public string message { get; set; }

        public page_dto data { get; set; }
        public class page_dto
        {
            public List<wip_material_full_stock_dto> items { get; set; }
        }
    }
}
