// EN: Query to get session details.
// VI: Query lấy thông tin phiên.

using MediatR;

namespace FnbEngine.API.Application.Queries;

/// <summary>
/// EN: Query to get session by ID.
/// VI: Query lấy phiên theo ID.
/// </summary>
public record GetSessionQuery(Guid SessionId) : IRequest<SessionDto?>;

/// <summary>
/// EN: Session data transfer object.
/// VI: Data transfer object cho Session.
/// </summary>
public record SessionDto(
    Guid Id,
    Guid TableId,
    Guid ShopId,
    int GuestCount,
    DateTime StartedAt,
    DateTime? ClosedAt,
    string Status
);
