using System.Text.Json.Serialization;

namespace OrderPROPrint.Models;

public class PendingJobsResponse
{
    [JsonPropertyName("jobs")]
    public List<PrintJob> Jobs { get; set; } = new();
}

public class PrintJob
{
    [JsonPropertyName("id")]
    public int Id { get; set; }

    [JsonPropertyName("order_number")]
    public string OrderNumber { get; set; } = "";

    [JsonPropertyName("tracking_number")]
    public string TrackingNumber { get; set; } = "";

    [JsonPropertyName("created_at")]
    public string CreatedAt { get; set; } = "";
}
