feat: 完成门店子资源管理与文档同步
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user