步步为盈
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.

81 lines
1.9 KiB

using System.Collections.Generic;
namespace BBWY.Server.Model.Dto
{
public class ManualCalculationCostRequest
{
public string OrderId { get; set; }
public bool IsSetStorageType { get; set; }
public Enums.StorageType? StorageType { get; set; }
///// <summary>
///// 采购成本
///// </summary>
//public decimal PurchaseCost { get; set; }
///// <summary>
///// 发货运费
///// </summary>
//public decimal DeliveryExpressFreight { get; set; }
public IList<OrderCostDetailRequest> OrderCostDetailList { get; set; }
/// <summary>
/// 平台扣点
/// </summary>
public decimal PlatformCommissionRatio { get; set; }
}
public class OrderCostDetailRequest
{
public int DeductionQuantity { get; set; } = 0;
public decimal DeliveryExpressFreight { get; set; } = 0.00M;
public string ProductId { get; set; }
public string SkuId { get; set; }
public decimal SkuAmount { get; set; } = 0.00M;
public decimal PurchaseFreight { get; set; } = 0.00M;
/// <summary>
/// 头程运费
/// </summary>
public decimal FirstFreight { get; set; } = 0.00M;
//public decimal OperationAmount { get; set; } = 0.00M;
/// <summary>
/// 入仓操作费
/// </summary>
public decimal InStorageAmount { get; set; } = 0.00M;
/// <summary>
/// 出仓操作费
/// </summary>
public decimal OutStorageAmount { get; set; } = 0.00M;
/// <summary>
/// 耗材费
/// </summary>
public decimal ConsumableAmount { get; set; } = 0.00M;
///// <summary>
///// 仓储费
///// </summary>
//public decimal StorageAmount { get; set; } = 0.00M;
/// <summary>
/// 打包费
/// </summary>
public decimal PackagingLaborAmount { get; set; } = 0.00M;
public decimal TotalCost { get; set; } = 0M;
public decimal UnitCost { get; set; } = 0M;
}
}