using System;
using System.Collections.Generic;
namespace BBWY.Server.Model.Dto
{
public class XingXinagSearchResponse
{
///
/// 汇总刷单量
///
public decimal TotalSDOrderCount { get; set; }
///
/// 汇总刷单成本
///
public decimal TotalSDOrderCost { get; set; }
///
/// 汇总刷单成交额
///
public decimal TotalSDOrderAmount { get; set; }
///
/// Spu刷单明细
///
public IList ItemList { get; set; }
///
/// 总利润
///
public decimal TotalProfit { get; set; }
///
/// 店铺毛利率
///
public decimal? ShopProfitRatio { get; set; }
///
/// 店铺盈利率
///
public decimal? ShopYingLiRatio { get; set; }
}
public class XingXiangItemResponse
{
public string Spu { get; set; }
//public decimal TotalCost { get; set; }
///
/// SPU毛利
///
public decimal Profit { get; set; }
///
/// 实收金额
///
public decimal ActualAmount { get; set; }
///
/// SPU毛利率
///
public decimal ProfitRatio
{
get
{
return ActualAmount == 0 ? 0 : Math.Round(Profit / ActualAmount, 2); //*100
}
}
///
/// 刷单单量
///
public decimal SDOrderCount { get; set; }
///
/// 刷单成本
///
public decimal SDOrderCost { get; set; }
///
/// 刷单成交额
///
public decimal SDOrderAmount { get; set; }
///
/// 店铺毛利率
///
public decimal? ShopProfitRatio { get; set; }
///
/// 店铺盈利率
///
public decimal? ShopYingLiRatio { get; set; }
///
/// SPU盈利率
///
public decimal? SpuYingLiRatio { get; set; }
}
}