using MediatR; using TakeoutSaaS.Application.App.Stores.Dto; using TakeoutSaaS.Domain.Stores.Enums; namespace TakeoutSaaS.Application.App.Stores.Commands; /// /// 切换门店经营状态命令。 /// public sealed record ToggleBusinessStatusCommand : IRequest { /// /// 门店 ID。 /// public long StoreId { get; init; } /// /// 目标经营状态。 /// public StoreBusinessStatus BusinessStatus { get; init; } /// /// 歇业原因。 /// public StoreClosureReason? ClosureReason { get; init; } /// /// 歇业原因补充说明。 /// public string? ClosureReasonText { get; init; } }