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

namespace Bailun.DC.Models
{
    public class dc_semi_stock_log
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }


        /// <summary>
        /// 流水ID
        /// </summary>
        public int log_id { get; set; }


        /// <summary>
        /// 原料sku编码
        /// </summary>
        public string sku_code { get; set; }


        /// <summary>
        /// 原料sku名称
        /// </summary>
        public string sku_name { get; set; }


        /// <summary>
        /// 流水类型ID
        /// </summary>
        public int log_type_id { get; set; }


        /// <summary>
        /// 流水类型名称
        /// </summary>
        public string log_type { get; set; }


        /// <summary>
        /// 流水数量
        /// </summary>
        public int log_quantity { get; set; }


        /// <summary>
        /// 当前库存
        /// </summary>
        public decimal final_stock { get; set; }


        /// <summary>
        /// 仓库ID
        /// </summary>
        public int warehouse_id { get; set; }


        /// <summary>
        /// 仓库名称
        /// </summary>
        public string warehouse_name { get; set; }


        /// <summary>
        /// 半成品仓流水创建日期
        /// </summary>
        public DateTime create_time { get; set; }


        /// <summary>
        /// 冗余库存
        /// </summary>
        public decimal? redundancy_stock { get; set; }


        /// <summary>
        /// 仓库类型:1-jit仓，2-计划仓
        /// </summary>
        public int warehouse_type { get; set; }


        /// <summary>
        /// 取数时间
        /// </summary>
        public DateTime update_time { get; set; }


        /// <summary>
        /// 产品大类id
        /// </summary>
        public int product_category_id { get; set; }


        /// <summary>
        /// 产品大类
        /// </summary>
        public string product_category_name { get; set; }


        /// <summary>
        /// 产品小类id
        /// </summary>
        public int type_id { get; set; }


        /// <summary>
        /// 产品小类
        /// </summary>
        public string type_name { get; set; }

    }
}
