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

namespace Bailun.DC.Models
{
    /// <summary>
    /// 统计每日SKU+仓库维度的卖出数和下采购单数
    /// </summary>
    public class dc_daily_purchase_sales
    {
        /// <summary>
		/// 
        /// </summary>		
        public int id { get; set; }

        /// <summary>
        /// 统计日期
        /// </summary>		
        public DateTime day { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>		
        public string warehouse_code { get; set; }

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

        /// <summary>
        /// sku
        /// </summary>		
        public string bailun_sku { get; set; }

        /// <summary>
        /// 期初库存
        /// </summary>
        public int stock_start { get; set; }

        public decimal stockamount_start { get; set; }


        /// <summary>
        /// 期末库存
        /// </summary>
        public int stock_end { get; set; }

        public decimal stockamount_end { get; set; }

        /// <summary>
        /// 销售数量
        /// </summary>		
        public int count_sales { get; set; }

        /// <summary>
        /// 销售金额
        /// </summary>		
        public decimal amount_sales { get; set; }

        /// <summary>
        /// 采购数量
        /// </summary>		
        public int count_purchase { get; set; }

        /// <summary>
        /// 采购金额
        /// </summary>		
        public decimal amount_purchase { get; set; }

        /// <summary>
        /// 入库数
        /// </summary>
        public int count_putin { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal amount_putin { get; set; }

        /// <summary>
        /// 发货数量
        /// </summary>
        public int count_shipping { get; set; }

        /// <summary>
        /// 发货金额
        /// </summary>
        public decimal amount_shipping { get; set; }

        /// <summary>
        /// 采购下单的差异数
        /// </summary>		
        public int difference_count { get; set; }

        /// <summary>
        /// 采购下单的差异金额
        /// </summary>		
        public decimal difference_amount { get; set; }

        /// <summary>
        /// 入库的差异数
        /// </summary>
        public int diff_putin_count { get; set; }

        /// <summary>
        /// 入库的差异金额
        /// </summary>
        public decimal diff_putin_amount { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime createtime { get; set; }

        /// <summary>
        /// 百伦简单分类
        /// </summary>
        public string category_simple_name { get; set; }

        /// <summary>
        /// 是否成品  1：成品  0：半成品
        /// </summary>
        public int isfinish { get; set; }

    }
}
