完成门店管理后端接口与任务

This commit is contained in:
2026-01-01 07:26:14 +08:00
parent dc9f6136d6
commit fc55003d3d
131 changed files with 15333 additions and 201 deletions

View File

@@ -0,0 +1,40 @@
using TakeoutSaaS.Domain.Stores.Enums;
using TakeoutSaaS.Shared.Abstractions.Entities;
namespace TakeoutSaaS.Domain.Stores.Entities;
/// <summary>
/// 门店费用配置。
/// </summary>
public sealed class StoreFee : MultiTenantEntityBase
{
/// <summary>
/// 门店标识。
/// </summary>
public long StoreId { get; set; }
/// <summary>
/// 起送费(元)。
/// </summary>
public decimal MinimumOrderAmount { get; set; } = 0m;
/// <summary>
/// 基础配送费(元)。
/// </summary>
public decimal BaseDeliveryFee { get; set; } = 0m;
/// <summary>
/// 打包费模式。
/// </summary>
public PackagingFeeMode PackagingFeeMode { get; set; } = PackagingFeeMode.Fixed;
/// <summary>
/// 固定打包费(总计模式有效)。
/// </summary>
public decimal FixedPackagingFee { get; set; } = 0m;
/// <summary>
/// 免配送费门槛。
/// </summary>
public decimal? FreeDeliveryThreshold { get; set; }
}