完成门店管理后端接口与任务
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using MediatR;
|
||||
using TakeoutSaaS.Application.App.Stores.Dto;
|
||||
using TakeoutSaaS.Domain.Stores.Enums;
|
||||
|
||||
namespace TakeoutSaaS.Application.App.Stores.Commands;
|
||||
|
||||
/// <summary>
|
||||
/// 更新门店费用配置命令。
|
||||
/// </summary>
|
||||
public sealed record UpdateStoreFeeCommand : IRequest<StoreFeeDto>
|
||||
{
|
||||
/// <summary>
|
||||
/// 门店 ID。
|
||||
/// </summary>
|
||||
public long StoreId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 起送费。
|
||||
/// </summary>
|
||||
public decimal MinimumOrderAmount { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送费。
|
||||
/// </summary>
|
||||
public decimal DeliveryFee { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 打包费模式。
|
||||
/// </summary>
|
||||
public PackagingFeeMode PackagingFeeMode { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 固定打包费。
|
||||
/// </summary>
|
||||
public decimal? FixedPackagingFee { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 免配送费门槛。
|
||||
/// </summary>
|
||||
public decimal? FreeDeliveryThreshold { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user