步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.1 KiB

using BBWY.Server.Model.Db;
using System;
using System.Collections.Generic;
namespace BBWY.Server.Model.Dto
{
public class OrderAchievementResponse
{
public long ShopId { get; set; }
/// <summary>
/// 成交额(用户实付)
/// </summary>
public decimal SaleAmount { get; set; }
/// <summary>
/// 采购金额(货物成本)
/// </summary>
public decimal PurchaseAmount { get; set; }
/// <summary>
/// 销售运费
/// </summary>
public decimal DeliveryExpressFreight { get; set; }
/// <summary>
/// 平台扣点
/// </summary>
public decimal PlatformCommissionAmount { get; set; }
/// <summary>
/// 总成本
/// </summary>
public decimal TotalCost
{
get
{
return PurchaseAmount + DeliveryExpressFreight + PlatformCommissionAmount;
}
}
/// <summary>
/// 利润
/// </summary>
public decimal Profit { get; set; }
/// <summary>
/// 利润率
/// </summary>
public decimal ProfitRaito
{
get
{
return TotalCost == 0 ? 0 : Math.Round(Profit / TotalCost * 100, 2);
}
}
/// <summary>
/// 人工成本
/// </summary>
public decimal EmployeeCost { get; set; }
/// <summary>
/// 税务成本
/// </summary>
public decimal TaxCost { get; set; }
/// <summary>
/// 订单数量
/// </summary>
public int OrderCount { get; set; }
/// <summary>
/// 推广成本(包含SD成本)
/// </summary>
public decimal AdvCost { get; set; }
/// <summary>
/// 推广花费截至时间
/// </summary>
public DateTime? PularizeEndDate { get; set; }
public decimal SDCost { get; set; }
/// <summary>
/// 推广明细
/// </summary>
public IList<Shoppopularize> ShoppopularizeList { get; set; }
}
}