using MediatR;
using TakeoutSaaS.Application.App.Stores.Dto;
namespace TakeoutSaaS.Application.App.Stores.Commands;
///
/// 创建自提档期命令。
///
public sealed record CreateStorePickupSlotCommand : IRequest
{
///
/// 门店 ID。
///
public long StoreId { get; init; }
///
/// 名称。
///
public string Name { get; init; } = string.Empty;
///
/// 开始时间。
///
public TimeSpan StartTime { get; init; }
///
/// 结束时间。
///
public TimeSpan EndTime { get; init; }
///
/// 截单分钟。
///
public int CutoffMinutes { get; init; } = 30;
///
/// 容量。
///
public int Capacity { get; init; }
///
/// 适用星期。
///
public string Weekdays { get; init; } = string.Empty;
///
/// 是否启用。
///
public bool IsEnabled { get; init; } = true;
}