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