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,35 @@
using MediatR;
using TakeoutSaaS.Application.App.Stores.Dto;
namespace TakeoutSaaS.Application.App.Stores.Commands;
/// <summary>
/// 更新节假日配置命令。
/// </summary>
public sealed record UpdateStoreHolidayCommand : IRequest<StoreHolidayDto?>
{
/// <summary>
/// 节假日 ID。
/// </summary>
public long HolidayId { get; init; }
/// <summary>
/// 门店 ID。
/// </summary>
public long StoreId { get; init; }
/// <summary>
/// 日期。
/// </summary>
public DateTime Date { get; init; }
/// <summary>
/// 是否闭店。
/// </summary>
public bool IsClosed { get; init; } = true;
/// <summary>
/// 说明。
/// </summary>
public string? Reason { get; init; }
}