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.

62 lines
1.2 KiB

using System;
namespace BBWYB.Client.Models
{
public class OrderCostResponse
{
/// <summary>
/// 成本毛利率
/// </summary>
public decimal ProfitRatio
{
get
{
return TotalCost == 0 ? 0 : Math.Round(Profit / TotalCost * 100, 2);
}
}
public decimal TotalCost { get; set; }
public string OrderId { get; set; }
public DateTime CreateTime { get; set; }
/// <summary>
/// 发货快递费
/// </summary>
public decimal DeliveryExpressFreight { get; set; } = 0.00M;
/// <summary>
/// 是否手动编辑过成本
/// </summary>
public bool IsManualEdited { get; set; } = false;
/// <summary>
/// 平台扣点金额
/// </summary>
public decimal PlatformCommissionAmount { get; set; } = 0.00M;
/// <summary>
/// 平台扣点百分比
/// </summary>
public decimal PlatformCommissionRatio { get; set; }
/// <summary>
/// 优惠金额
/// </summary>
public decimal PreferentialAmount { get; set; } = 0.00M;
/// <summary>
/// 利润
/// </summary>
public decimal Profit { get; set; } = 0.00M;
/// <summary>
/// 采购金额
/// </summary>
public decimal PurchaseAmount { get; set; } = 0.00M;
}
}