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