using Meezi.Core.Enums;

namespace Meezi.API.Models.Queue;

public record QueueTicketDto(
    string Id,
    string? BranchId,
    DateOnly ServiceDate,
    int Number,
    string? CustomerLabel,
    string? OrderId,
    QueueTicketStatus Status,
    DateTime IssuedAt);

public record QueueBoardDto(
    DateOnly ServiceDate,
    int? NowServing,
    int LastIssued,
    int WaitingCount,
    IReadOnlyList<QueueTicketDto> Tickets);

public record IssueQueueTicketRequest(
    string? BranchId,
    string? CustomerLabel,
    string? OrderId);

public record UpdateQueueTicketStatusRequest(QueueTicketStatus Status);
