Files
TakeoutSaaS.TenantApi/src/Application/TakeoutSaaS.Application/App/Stores/Commands/UpdateStoreTableAreaCommand.cs

36 lines
787 B
C#

using MediatR;
using TakeoutSaaS.Application.App.Stores.Dto;
namespace TakeoutSaaS.Application.App.Stores.Commands;
/// <summary>
/// 更新桌台区域命令。
/// </summary>
public sealed record UpdateStoreTableAreaCommand : IRequest<StoreTableAreaDto?>
{
/// <summary>
/// 区域 ID。
/// </summary>
public long AreaId { get; init; }
/// <summary>
/// 门店 ID。
/// </summary>
public long StoreId { get; init; }
/// <summary>
/// 区域名称。
/// </summary>
public string Name { get; init; } = string.Empty;
/// <summary>
/// 区域描述。
/// </summary>
public string? Description { get; init; }
/// <summary>
/// 排序值。
/// </summary>
public int SortOrder { get; init; } = 100;
}