using MediatR; using TakeoutSaaS.Application.App.Stores.Dto; using TakeoutSaaS.Domain.Stores.Enums; namespace TakeoutSaaS.Application.App.Stores.Commands; /// /// 更新营业时段命令。 /// public sealed record UpdateStoreBusinessHourCommand : IRequest { /// /// 营业时段 ID。 /// public long BusinessHourId { get; init; } /// /// 门店 ID。 /// public long StoreId { get; init; } /// /// 星期几。 /// public DayOfWeek DayOfWeek { get; init; } /// /// 时段类型。 /// public BusinessHourType HourType { get; init; } = BusinessHourType.Normal; /// /// 开始时间。 /// public TimeSpan StartTime { get; init; } /// /// 结束时间。 /// public TimeSpan EndTime { get; init; } /// /// 容量限制。 /// public int? CapacityLimit { get; init; } /// /// 备注。 /// public string? Notes { get; init; } }