using Mall.Common.Enum.User;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mall.Model.Query
{
    /// <summary>
    /// 统计查询条件
    /// </summary>
    public class StatisticsQuery
    {
        /// <summary>
        /// 商户号Id
        /// </summary>        
        public int TenantId
        {
            get;
            set;
        }

        /// <summary>
        /// 小程序Id
        /// </summary>        
        public int MallBaseId
        {
            get;
            set;
        }


        /// <summary>
        /// 来源  1微信  2支付宝【见枚举】
        /// </summary>        
        public UserSourceEnum? Source
        {
            get;
            set;
        }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndDate { get; set; }

        /// <summary>
        /// 销售查询【1-昨日，7-七日】
        /// </summary>
        public int SalesTimeType { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public string OrderBy { get; set; }
    }
}
