using System;
using Siger.Middlelayer.Utility.ExcelImport;

namespace Siger.Middlelayer.WmsRepository.Response
{
    public class ResponseeInventory
    {
        public string storage_location_name { get; set; }
        public string businessName { get; set; }
        public int id { get; set; }

        /// <summary>
        /// 储位id
        /// </summary>
        public int storage_location_id { get; set; }

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

        /// <summary>
        /// 物料id
        /// </summary>
        public int material_id { get; set; }

        /// <summary>
        /// 1:在库 2:出库 3:领用 4:归还
        /// </summary>
        public int stock_state { get; set; }

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

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

        /// <summary>
        /// 物料规格
        /// </summary>
        public string material_spec { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string manage_model { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public string category { get; set; }

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

        /// <summary>
        /// 批次号
        /// </summary>
        public string batch_number { get; set; }
        /// <summary>
        /// 物料数量
        /// </summary>
        public int quantity { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int creator { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int updator { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime update_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int projectid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }

        public string option { get; set; }
        public string stockNo { get; set; }
        public string tool_number { get; set; }
        public int warehouse_min { get; set; }
        public int tool_type { get; set; }
    }

    public class ExportStockData: ImportBase
    {
        [ExcelColumn("ID")]
        public int id { get; set; }
        [ExcelColumn("储位")]
        public string storage_location_name { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        [ExcelColumn("料号")]
        public string material_pn { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [ExcelColumn("系统批次/序号")]
        public string batch_number { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [ExcelColumn("名称")]
        public string material_name { get; set; }


        /// <summary>
        /// 物料规格
        /// </summary>
        [ExcelColumn("规格")]
        public string material_spec { get; set; }

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


        /// <summary>
        /// 物料数量
        /// </summary>
        [ExcelColumn("数量")]
        public int quantity { get; set; }
    }
}
