using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace BBWY.Client.Models
{
    public class ToDayOrderAchievement : NotifyObject
    {
        public ToDayOrderAchievement()
        {
            ShoppopularizeList = new ObservableCollection<ShopPopularizeResponse>();
        }

        private decimal saleAmount;
        private decimal profit;
        private decimal profitRaito;
        private int orderCount;
        private decimal purchaseAmount;
        private decimal deliveryExpressFreight;
        private decimal platformCommissionAmount;
        private decimal totalCost;
        private decimal advCost;
        private decimal sdCost;
        private decimal taxCost;
        private decimal employereCost;
        private DateTime? pularizeEndDate;

        public IList<ShopPopularizeResponse> ShoppopularizeList { get; set; }

        /// <summary>
        /// 销售额
        /// </summary>
        public decimal SaleAmount { get => saleAmount; set { Set(ref saleAmount, value); } }
        /// <summary>
        /// 总成本
        /// </summary>
        public decimal TotalCost { get => totalCost; set { Set(ref totalCost, value); } }
        /// <summary>
        /// 利润
        /// </summary>
        public decimal Profit { get => profit; set { Set(ref profit, value); } }
        /// <summary>
        /// 利润比
        /// </summary>
        public decimal ProfitRaito { get => profitRaito; set { Set(ref profitRaito, value); } }
        /// <summary>
        /// 订单数
        /// </summary>
        public int OrderCount { get => orderCount; set { Set(ref orderCount, value); } }

        /// <summary>
        /// 采购金额
        /// </summary>
        public decimal PurchaseAmount { get => purchaseAmount; set { Set(ref purchaseAmount, value); } }

        /// <summary>
        /// 销售运费
        /// </summary>
        public decimal DeliveryExpressFreight { get => deliveryExpressFreight; set { Set(ref deliveryExpressFreight, value); } }

        /// <summary>
        /// 平台扣点
        /// </summary>
        public decimal PlatformCommissionAmount { get => platformCommissionAmount; set { Set(ref platformCommissionAmount, value); } }

        /// <summary>
        /// 广告推广
        /// </summary>
        public decimal AdvCost { get => advCost; set { Set(ref advCost, value); } }

        public decimal SdCost { get => sdCost; set { Set(ref sdCost, value); } }

        public decimal TaxCost { get => taxCost; set { Set(ref taxCost, value); } }

        public decimal EmployereCost { get => employereCost; set { Set(ref employereCost, value); } }

        public DateTime? PularizeEndDate { get => pularizeEndDate; set { Set(ref pularizeEndDate, value); } }
    }
}