Files
TakeoutSaaS.TenantApi/src/Domain/TakeoutSaaS.Domain/Stores/Enums/OrderPackagingFeeMode.cs
MSuMshk 725f89ae24 feat: Add tiered packaging fee support for stores
Introduces tiered packaging fee configuration for stores by adding OrderPackagingFeeMode and PackagingFeeTiers fields to StoreFee. Updates DTOs, validators, handlers, and mapping logic to support both fixed and tiered packaging fee modes. Adds StoreFeeTierHelper for tier normalization and serialization, and includes a database migration to persist the new fields.
2026-01-26 09:26:49 +08:00

18 lines
293 B
C#

namespace TakeoutSaaS.Domain.Stores.Enums;
/// <summary>
/// 订单打包费计算规则。
/// </summary>
public enum OrderPackagingFeeMode
{
/// <summary>
/// 一口价。
/// </summary>
Fixed = 0,
/// <summary>
/// 阶梯价。
/// </summary>
Tiered = 1
}