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

namespace AutoTurnOver.Models
{
    public class dc_auto_sales
    {
        public int id { get; set; }

        /// <summary>
        /// 销量趋势预测公式y = kx + b
        /// </summary>
        public string forecast_formula { get; set; }

       

        /// <summary>
        /// 百伦SKU
        /// </summary>
        public string bailun_sku { get; set; }

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

        /// <summary>
        /// 过去第一日销量
        /// </summary>
        public int oneday_sales { get; set; }

        /// <summary>
        /// 过去第二日销量
        /// </summary>
        public int twoday_sales { get; set; }

        /// <summary>
        /// 过去第三天销量
        /// </summary>
        public int threeday_sales { get; set; }

        /// <summary>
        /// 过去第四天销量
        /// </summary>
        public int fourthday_sales { get; set; }


        /// <summary>
        /// 过去第五天销量
        /// </summary>
        public int fiveday_sales { get; set; }

        /// <summary>
        /// 过去第六天销量
        /// </summary>
        public int sixday_sales { get; set; }

        /// <summary>
        /// 过去第七天销量
        /// </summary>
        public int sevenday_sales { get; set; }

        /// <summary>
        /// 过去第八天销量
        /// </summary>
        public int eightday_sales { get; set; }

        /// <summary>
        /// 过去第九天销量
        /// </summary>
        public int nineday_sales { get; set; }

        /// <summary>
        /// 过去第十天销量
        /// </summary>
        public int tenday_sales { get; set; }

        /// <summary>
        /// 过去第十一天销量
        /// </summary>
        public int elevenday_sales { get; set; }

        /// <summary>
        /// 过去第十二天销量
        /// </summary>
        public int twelveday_sales { get; set; }

        /// <summary>
        /// 过去第十三天销量
        /// </summary>
        public int thridteenday_sales { get; set; }

        /// <summary>
        /// 过去第十四天销量
        /// </summary>
        public int fourteenday_sales { get; set; }

        /// <summary>
        /// 过去第十五天销量
        /// </summary>
        public int fifteenday_sales { get; set; }

        /// <summary>
        /// 过去第十六天销量
        /// </summary>
        public int sixteenday_sales { get; set; }

        /// <summary>
        /// 过去第十七天销量
        /// </summary>
        public int seventeenday_sales { get; set; }

        /// <summary>
        /// 过去第十八天销量
        /// </summary>
        public int eighteenday_sales { get; set; }

        /// <summary>
        /// 过去第十九天销量
        /// </summary>
        public int nineteenday_sales { get; set; }

        /// <summary>
        /// 过去第二十天销量
        /// </summary>
        public int twentyday_sales { get; set; }

        /// <summary>
        /// 过去第二十一天销量
        /// </summary>
        public int twenty_oneday_sales { get; set; }

        /// <summary>
        /// 过去第二十二天销量
        /// </summary>
        public int twenty_twoday_sales { get; set; }

        /// <summary>
        /// 过去第二十三天销量
        /// </summary>
        public int twenty_threeday_sales { get; set; }

        /// <summary>
        /// 过去第二十四天销量
        /// </summary>
        public int twenty_fourthday_sales { get; set; }

        /// <summary>
        /// 过去第二十五天销量
        /// </summary>
        public int twenty_fiveday_sales { get; set; }

        /// <summary>
        /// 过去第二十六天销量
        /// </summary>
        public int twenty_sixday_sales { get; set; }

        /// <summary>
        /// 过去第二十七天销量
        /// </summary>
        public int twenty_seveneday_sales { get; set; }

        /// <summary>
        /// 过去第二十八天销量
        /// </summary>
        public int twenty_eightday_sales { get; set; }

        /// <summary>
        /// 过去第二十九天销量
        /// </summary>
        public int twenty_nineday_sales { get; set; }

        /// <summary>
        /// 过去第三十天销量
        /// </summary>
        public int thirtyday_sales { get; set; }

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

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime gmt_modified { get; set; }

        /// <summary>
        /// Sku标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 分类id
        /// </summary>
        public string category_id { get; set; }

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

      

        /// <summary>
        /// 预测今日销量
        /// </summary>
        public decimal forecast_today_sales { get; set; }

        /// <summary>
        /// 预测第一天销量
        /// </summary>
        public decimal forecast_oneday_sales { get; set; }

        /// <summary>
        /// 预测第二天销量
        /// </summary>
        public decimal forecast_twoday_sales { get; set; }

        /// <summary>
        /// 预测第三天销量
        /// </summary>
        public decimal forecast_threeday_sales { get; set; }

        /// <summary>
        /// 预测第四天销量
        /// </summary>
        public decimal forecast_fourthday_sales { get; set; }

        /// <summary>
        /// 预测第五天销量
        /// </summary>
        public decimal forecast_fiveday_sales { get; set; }

        /// <summary>
        /// 预测第六天销量
        /// </summary>
        public decimal forecast_sixday_sales { get; set; }

        /// <summary>
        /// 预测第七天销量
        /// </summary>
        public decimal forecast_sevenday_sales { get; set; }

        /// <summary>
        /// 预测第八天销量
        /// </summary>
        public decimal forecast_eightday_sales { get; set; }

        /// <summary>
        /// 预测第九天销量
        /// </summary>
        public decimal forecast_nineday_sales { get; set; }

        /// <summary>
        /// 预测第十天销量
        /// </summary>
        public decimal forecast_tenday_sales { get; set; }

        /// <summary>
        /// 预测第十一天销量
        /// </summary>
        public decimal forecast_elevenday_sales { get; set; }

        /// <summary>
        /// 预测第十二天销量
        /// </summary>
        public decimal forecast_twelveday_sales { get; set; }

        /// <summary>
        /// 预测第十三天销量
        /// </summary>
        public decimal forecast_thridteenday_sales { get; set; }

        /// <summary>
        /// 预测第十四天销量
        /// </summary>
        public decimal forecast_fourteenday_sales { get; set; }

        /// <summary>
        /// 预测第十五天销量
        /// </summary>
        public decimal forecast_fifteenday_sales { get; set; }

        /// <summary>
        /// 预测第十六天销量
        /// </summary>
        public decimal forecast_sixteenday_sales { get; set; }

        /// <summary>
        /// 预测第十七天销量
        /// </summary>
        public decimal forecast_seventeenday_sales { get; set; }

        /// <summary>
        /// 预测第十八天销量
        /// </summary>
        public decimal forecast_eighteenday_sales { get; set; }

        /// <summary>
        /// 预测第十九天销量
        /// </summary>
        public decimal forecast_nineteenday_sales { get; set; }

        /// <summary>
        /// 预测第二十天销量
        /// </summary>
        public decimal forecast_twentyday_sales { get; set; }

        /// <summary>
        /// 预测第二十一天销量
        /// </summary>
        public decimal forecast_twenty_oneday_sales { get; set; }

        /// <summary>
        /// 预测第二十二天销量
        /// </summary>
        public decimal forecast_twenty_twoday_sales { get; set; }

        /// <summary>
        /// 预测第二十三天销量
        /// </summary>
        public decimal forecast_twenty_threeday_sales { get; set; }

        /// <summary>
        /// 预测第二十四天销量
        /// </summary>
        public decimal forecast_twenty_fourthday_sales { get; set; }

        /// <summary>
        /// 预测第二十五天销量
        /// </summary>
        public decimal forecast_twenty_fiveday_sales { get; set; }

        /// <summary>
        /// 预测第二十六天销量
        /// </summary>
        public decimal forecast_twenty_sixday_sales { get; set; }

        /// <summary>
        /// 预测第二十七天销量
        /// </summary>
        public decimal forecast_twenty_seveneday_sales { get; set; }

        /// <summary>
        /// 预测第二十八天销量
        /// </summary>
        public decimal forecast_twenty_eightday_sales { get; set; }

        /// <summary>
        /// 预测第二十九天销量
        /// </summary>
        public decimal forecast_twenty_nineday_sales { get; set; }

        /// <summary>
        /// 预测第三十天销量
        /// </summary>
        public decimal forecast_thirtyday_sales { get; set; }

        /// <summary>
        /// k值
        /// </summary>
        public decimal k_variable { get; set; }

        /// <summary>
        /// b值
        /// </summary>
        public decimal b_variable { get; set; }

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

        /// <summary>
        /// 详细数据
        /// </summary>
        public string details { get; set; }

        /// <summary>
        /// 销量预测公式
        /// </summary>
        public string fit_forecast_formula { get; set; }

    }

    public class dc_auto_sales_dto : dc_auto_sales
    {
        /// <summary>
        /// 平台
        /// </summary>
        public string platform { get; set; }

        /// <summary>
        /// 站点
        /// </summary>
        public string website { get; set; }

        /// <summary>
        /// 百伦帐号id
        /// </summary>
        public string bailun_account_id { get; set; }

        /// <summary>
        /// 百伦帐号
        /// </summary>
        public string bailun_account { get; set; }
        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime record_time { get; set; }
    }
}
