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

namespace Bailun.DC.Models
{
    /// <summary>
    /// 每月进销存数据不合理报告
    /// </summary>
    public class dc_mid_month_sale_putin_report
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }

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

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

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

        /// <summary>
        /// 仓库类型
        /// </summary>
        public string warehouse_type { get; set; }

        /// <summary>
        /// 百伦sku编码
        /// </summary>
        public string bailun_sku { get; set; }

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

        /// <summary>
        /// 出库数
        /// </summary>
        public int count_outbound { get; set; }

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

        /// <summary>
        /// 出库-入库差异数
        /// </summary>
        public int count_diff { get; set; }

        /// <summary>
        /// 采购价
        /// </summary>
        public decimal buyprice { get; set; }

        /// <summary>
        /// 统计月份
        /// </summary>
        public string month { get; set; }

        /// <summary>
        /// 可用库存
        /// </summary>
        public int count_usable_stock { get; set; }

        /// <summary>
        /// 7日日均销量
        /// </summary>
        public decimal avg_sevenday_sales { get; set; }
        
        /// <summary>
        /// 14日日均销量
        /// </summary>
        public decimal avg_fourteenday_sales { get; set; }

        /// <summary>
        /// 30天日均销量
        /// </summary>
        public decimal avg_thirtyday_sales { get; set; }

        /// <summary>
        /// 加权日均销量
        /// </summary>
        public decimal avg_weighting_day_sales { get; set; }

        /// <summary>
        /// 平均日均销量
        /// </summary>
        public decimal avg_sales { get; set; }

        /// <summary>
        /// 类型，1：不合理，2：清货
        /// </summary>
        public int type { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public DateTime createtime { get; set; }

        /// <summary>
        /// 是否清货，1：是，0：否
        /// </summary>
        public int? is_clear { get; set; }

        /// <summary>
        /// 是否新品，1：是，0：否
        /// </summary>
        public int? is_new { get; set; }

        /// <summary>
        /// 是否aims下单，1：是，0：否
        /// </summary>
        public int? is_aimsorder { get; set; }

        /// <summary>
        /// 是否合理 ，1：合理，0：不合理
        /// </summary>
        public int? is_reasonable { get; set; }

        /// <summary>
        /// 出库金额
        /// </summary>
        public decimal? amount_outbound { get; set; }
        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal? amount_putin { get; set; }
        /// <summary>
        /// 差异金额
        /// </summary>
        public decimal? amount_diff { get; set; }
    }
}
