// EN: Command to create a new table.
// VI: Command tạo bàn mới.

using MediatR;

namespace FnbEngine.API.Application.Commands;

/// <summary>
/// EN: Command to create a new table.
/// VI: Command tạo bàn mới.
/// </summary>
public record CreateTableCommand(
    Guid ShopId,
    string TableNumber,
    int Capacity,
    string? Zone = null,
    decimal? HourlyRate = null
) : IRequest<CreateTableResult>;

/// <summary>
/// EN: Result of creating a table.
/// VI: Kết quả tạo bàn.
/// </summary>
public record CreateTableResult(Guid TableId);
