20 lines
456 B
C#
20 lines
456 B
C#
// EN: Query to get pending kitchen tickets.
|
|
// VI: Query lấy danh sách phiếu bếp chờ.
|
|
|
|
using MediatR;
|
|
|
|
namespace FnbEngine.API.Application.Queries;
|
|
|
|
public record GetPendingTicketsQuery(string? Station = null) : IRequest<IEnumerable<KitchenTicketDto>>;
|
|
|
|
public record KitchenTicketDto(
|
|
Guid Id,
|
|
Guid SessionId,
|
|
Guid OrderItemId,
|
|
string ItemName,
|
|
string? Station,
|
|
int Priority,
|
|
string Status,
|
|
DateTime CreatedAt
|
|
);
|