feat: 完成门店子资源管理与文档同步

This commit is contained in:
2025-12-04 08:38:31 +08:00
parent 17d143a351
commit 9051a024ea
45 changed files with 1671 additions and 3 deletions

View File

@@ -0,0 +1,50 @@
using MediatR;
using TakeoutSaaS.Application.App.Stores.Dto;
namespace TakeoutSaaS.Application.App.Stores.Commands;
/// <summary>
/// 更新配送区域命令。
/// </summary>
public sealed record UpdateStoreDeliveryZoneCommand : IRequest<StoreDeliveryZoneDto?>
{
/// <summary>
/// 配送区域 ID。
/// </summary>
public long DeliveryZoneId { get; init; }
/// <summary>
/// 门店 ID。
/// </summary>
public long StoreId { get; init; }
/// <summary>
/// 区域名称。
/// </summary>
public string ZoneName { get; init; } = string.Empty;
/// <summary>
/// GeoJSON。
/// </summary>
public string PolygonGeoJson { get; init; } = string.Empty;
/// <summary>
/// 起送价。
/// </summary>
public decimal? MinimumOrderAmount { get; init; }
/// <summary>
/// 配送费。
/// </summary>
public decimal? DeliveryFee { get; init; }
/// <summary>
/// 预计分钟。
/// </summary>
public int? EstimatedMinutes { get; init; }
/// <summary>
/// 排序。
/// </summary>
public int SortOrder { get; init; } = 100;
}