20 lines
606 B
C#
20 lines
606 B
C#
namespace PrintServiceTray.Models;
|
|
|
|
public class QueueStatusResponse
|
|
{
|
|
public bool Success { get; set; }
|
|
public string? Message { get; set; }
|
|
public List<JobStatus> Jobs { get; set; } = new();
|
|
}
|
|
|
|
public class JobStatus
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
public string FileName { get; set; } = string.Empty;
|
|
public string DocumentType { get; set; } = string.Empty;
|
|
public string Status { get; set; } = string.Empty;
|
|
public string? PrinterName { get; set; }
|
|
public int? CurrentPage { get; set; }
|
|
public int? TotalPages { get; set; }
|
|
}
|