using MediatR;

namespace FnbEngine.API.Application.Queries;

public record GetReservationsQuery(Guid ShopId, DateTime? Date = null) : IRequest<IEnumerable<ReservationDto>>;

public record ReservationDto(
    Guid Id,
    Guid ShopId,
    Guid? TableId,
    string GuestName,
    string? Phone,
    int PartySize,
    DateTime ReservationTime,
    string Status,
    string? Note,
    DateTime CreatedAt);
