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

namespace AutoTurnOver.Models.Report
{
    public class report_stock_week_view_dto
    {
        public string web_site { get; set; }

        /// <summary>
        /// 指标
        /// </summary>
        public string tag { get; set; }

        public List<week> weeks { get; set; }

        public class week
        {
            public string tag { get; set; }
            public decimal val { get; set; }
            public decimal ratio { get; set; }
            public string ratio_str { get{
                    return ratio.ToString("p");
                } }
        }
    }

    public class report_stock_week_view_search_dto
    {
        public DateTime? btime { get; set; }
        public DateTime? etime { get; set; }
    }

    public class product_type_desc_dto
    {
        public string product_type_desc { get; set; }
        public int product_type { get; set; }
    }

    public class dc_report_stock_week
    {
        public int id { get; set; }
        public int stock { get; set; }
        public string week_tag { get; set; }
        public string warehouse_code { get; set; }
        public string bailun_sku { get; set; }
        public DateTime first_day_date { get; set; }
        public string web_site { get; set; }
        public string sku_tag { get; set; }
        public decimal stock_amount { get; set; }
        public decimal sales { get; set; }
        public decimal sales_amount { get; set; }
        public decimal cost_amount { get; set; }
        public int is_order { get; set; }
    }

    public class dc_report_purchase_week
    {
        public int id { get; set; }
        public string week_tag { get; set; }
        /// <summary>
        /// 1 = 采购 2= 调拨
        /// </summary>
        public int type { get; set; }
        public string warehouse_code { get; set; }
        public string bailun_sku { get; set; }
        public int stock { get; set; }
        public decimal unit_price { get; set; }
        public int is_new { get; set; }
        public int quantity_purchase { get; set; }
        public decimal amount_paid { get; set; }
        public string web_site { get; set; }
        public DateTime first_day_date { get; set; }
    }
}
