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

namespace Bailun.DC.Models.Warehouse
{
    public class dc_skuwarehouse_stock_sales
    {
        public int id { get; set; }

        public string bailun_sku { get; set; }

        public string warehouse_code { get; set; }

        public string warehouse_name { get; set; }

        public string hq_type { get; set; }

        public int? usable_stock { get; set; }

        public decimal? amount_stock { get; set; }

        public int? quantity_purchase { get; set; }

        public decimal? purchase_amount { get; set; }

        public int? quantity_transfer { get; set; }

        public decimal? amount_transit { get; set; }

        public int? oneday_total_sales { get; set; }

        public decimal? amount_onedaysale { get; set; }

        public int? sevenday_total_sales { get; set; }

        public decimal sevenday_total_sales_amount { get; set; }

        public int? fourteenday_total_sales { get; set; }

        public decimal? fourteenday_total_sales_amount { get; set; }

        public int? thirtyday_total_sales { get; set; }

        public decimal? thirtyday_total_sales_amount { get; set; }

        /// <summary>
        /// 调出在途数
        /// </summary>
        public int? quantity_tuneout_onway { get; set; }

        /// <summary>
        /// 30天内调出数量
        /// </summary>
        public int? quantity_tuneout_30days { get; set; }

        /// <summary>
        /// 30天内调出金额
        /// </summary>
        public decimal? amount_tuneout_30days { get; set; }

        /// <summary>
        /// 30天内调入数量
        /// </summary>
        public int? quantity_tunein_30days { get; set; }

        /// <summary>
        /// 30天内调入金额
        /// </summary>
        public decimal? amount_tunein_30days { get; set; }


        public DateTime? createtime { get; set; }

        /// <summary>
        /// 缺货数
        /// </summary>
        public int? nostockcount { get; set; }

        /// <summary>
        /// 未发货数
        /// </summary>
        public int? noshippingcount { get; set; }

        /// <summary>
        /// 30天现金流收入
        /// </summary>
        public decimal? cash_in_30days { get; set; }

        /// <summary>
        /// 30天现金流支出
        /// </summary>
        public decimal? cash_out_30days { get; set; }

        /// <summary>
        /// 30天现金流净值，收入-支出
        /// </summary>
        public decimal? cash_net { get; set; }

        /// <summary>
        /// 动销率，动销率=过去一个月卖出的SKU/SKU的库存金额
        /// </summary>
        public decimal? pin_rate_stock { get; set; }

    }
}
