增加项目,分层

This commit is contained in:
chfei committed 2026-09-11 19:11:12 +08:00
1 parent 6e995a5bdb
commit 0a3e5af6a9
234 files changed
+26994 -1

No files matched your search

@@ -0,0 +1,39 @@
using Store.Product.Models.Product.Sku;
namespace Store.Product.Models.PublishParameters.Price
{
/// <summary>
/// 价格配置
/// </summary>
public abstract class PriceConfigBase
{
/// <summary>
/// 价格类型
/// </summary>
public abstract PriceStrategyType PriceType { get; }
///// <summary>
///// 快递费是否增加到商品价格
///// </summary>
//public bool IsExpressAddPrice { get; set; } = false;
///// <summary>
///// 是否随机增加金额 0-1元
///// </summary>
//public bool IsRandomAddPrice { get; set; } = false;
/// <summary>
/// 计算价格
/// </summary>
/// <returns></returns>
public abstract decimal ComputedPrice(decimal oldPrice);
/// <summary>
/// 计算价格
/// </summary>
/// <returns></returns>
public abstract SkuMaps ComputedPrice(SkuMaps skuMaps);
}
}