feat: 完成门店子资源管理与文档同步
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using MediatR;
|
||||
using TakeoutSaaS.Application.App.Stores.Dto;
|
||||
using TakeoutSaaS.Domain.Stores.Enums;
|
||||
|
||||
namespace TakeoutSaaS.Application.App.Stores.Commands;
|
||||
|
||||
/// <summary>
|
||||
/// 更新营业时段命令。
|
||||
/// </summary>
|
||||
public sealed record UpdateStoreBusinessHourCommand : IRequest<StoreBusinessHourDto?>
|
||||
{
|
||||
/// <summary>
|
||||
/// 营业时段 ID。
|
||||
/// </summary>
|
||||
public long BusinessHourId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 门店 ID。
|
||||
/// </summary>
|
||||
public long StoreId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期几。
|
||||
/// </summary>
|
||||
public DayOfWeek DayOfWeek { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 时段类型。
|
||||
/// </summary>
|
||||
public BusinessHourType HourType { get; init; } = BusinessHourType.Normal;
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间。
|
||||
/// </summary>
|
||||
public TimeSpan StartTime { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间。
|
||||
/// </summary>
|
||||
public TimeSpan EndTime { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 容量限制。
|
||||
/// </summary>
|
||||
public int? CapacityLimit { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注。
|
||||
/// </summary>
|
||||
public string? Notes { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user