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

namespace AutoTurnOver.Models.Report
{
    public class bailun_sku_website_sales_search_dto
    {
        /// <summary>
        /// 是否汇总
        /// </summary>
        public bool? has_sum { get; set; }
        public string platform_type { get; set; }
        public string warehousetype { get; set; }
        public int? warehousearea { get; set; }
        public string warehouse_code { get; set; }
        public DateTime? btime { get; set; }
        public DateTime? etime { get; set; }

    }

    public class bailun_sku_website_sales_detailed_search_dto
    {
        public string platform_type { get; set; }

        public string label { get; set; }
        public string website { get; set; }
        public string warehouse_code { get; set; }

        public int year { get; set; }
        public int month { get; set; }
        public int day { get; set; }
    }
    public class bailun_sku_website_sales_dto
    {
        public string label { get; set; }

        public string platform_type { get; set; }

        public string website { get; set; }
        public string website_show { get; set; }

        public List<string> labels { get; set; }

        public List<bailun_sku_website_sales_date_dto> days { get; set; }

        public class bailun_sku_website_sales_date_dto
        {
            public int year { get; set; }

            public int month { get; set; }

            public int day { get; set; }

            public decimal count { get; set; }
            public decimal sum { get; set; }
        }
    }

    public class bailun_sku_warehouse_code_dto
    {
        public string label { get; set; }

        public string warehouse_name { get; set; }
        public string warehouse_code { get; set; }

        public List<string> labels { get; set; }

        public List<bailun_sku_warehouse_code_date_dto> days { get; set; }

        public class bailun_sku_warehouse_code_date_dto
        {
            public int year { get; set; }

            public int month { get; set; }

            public int day { get; set; }

            public decimal count { get; set; }
            public decimal sum { get; set; }
            public decimal stock { get; set; }
        }
    }

    public class bailun_sku_goods_search_dto 
    {
        public bool? has_sum { get; set; }
        public string product_inner_code { get; set; }
        public string platform_type { get; set; }
    }
    public class bailun_sku_goods_dto
    {
        public string product_inner_code { get; set; }

        public string bailun_category_name { get; set; }

        public string sku_title_cn { get; set; }
      

        public List<bailun_sku_goods_date_dto> websites { get; set; }

        public class bailun_sku_goods_date_dto
        {
            public string platform_type { get; set; }

            public string website { get; set; }

            /// <summary>
            /// 昨日销量
            /// </summary>
            public decimal yesterday_count { get; set; }
            /// <summary>
            /// 7日平均
            /// </summary>
            public decimal yesterday_average_7 { get; set; }
            /// <summary>
            /// 昨日销售金额
            /// </summary>
            public decimal yesterday_amount { get; set; }
            /// <summary>
            /// 近7天总销售额
            /// </summary>
            public decimal amount_7 { get; set; }
        }
    }


}
