using System; namespace BBWY.Server.Model.Dto { public class OrderAchievementResponse { /// /// 销售额(用户实付) /// public decimal SaleAmount { get; set; } /// /// 采购金额 /// public decimal PurchaseAmount { get; set; } /// /// 销售运费 /// public decimal DeliveryExpressFreight { get; set; } /// /// 平台扣点 /// public decimal PlatformCommissionAmount { get; set; } /// /// 总成本 /// public decimal TotalCost { get { return PurchaseAmount + DeliveryExpressFreight + PlatformCommissionAmount; } } /// /// 利润 /// public decimal Profit { get; set; } /// /// 利润率 /// public decimal ProfitRaito { get { return TotalCost == 0 ? 0 : Math.Round(Profit / TotalCost * 100, 2); } } /// /// 订单数量 /// public int OrderCount { get; set; } /// /// 广告投入 /// public decimal AdvCost { get; set; } } }