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

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,31 @@
using System.Text.Json.Serialization;
using TakeoutSaaS.Shared.Abstractions.Serialization;
namespace TakeoutSaaS.Application.App.Stores.Dto;
/// <summary>
/// 配送范围检测结果。
/// </summary>
public sealed record StoreDeliveryCheckResultDto
{
/// <summary>
/// 是否在范围内。
/// </summary>
public bool InRange { get; init; }
/// <summary>
/// 距离(公里)。
/// </summary>
public decimal? Distance { get; init; }
/// <summary>
/// 命中的配送区域 ID。
/// </summary>
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
public long? DeliveryZoneId { get; init; }
/// <summary>
/// 命中的配送区域名称。
/// </summary>
public string? DeliveryZoneName { get; init; }
}