Files
CartriX/CartriX.Shared/DTOs/PrinterDtos.cs
T
2026-05-22 01:21:04 +09:00

42 lines
1.3 KiB
C#

using System.Diagnostics.Contracts;
namespace CartriX.Shared.DTOs.Printer
{
public class List()
{
public int id { get; set; }
public string name { get; set; } = null!;
public string ipAddressOrHostname { get; set; } = null!;
public string modelName { get; set; } = null!;
public int statusId { get; set; }
}
public class Add()
{
public List<string> cartridgeArticleNames { get; set; } = new();
public int connectionTypeId { get; set; }
public int countPrintedAllTime { get; set; }
public string? ipAddressOrHostname { get; set; }
public string locationName { get; set; } = string.Empty;
public string manufacturerName { get; set; } = string.Empty;
public string modelName { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
public string? oidForQueryCountPrintedAllTime { get; set; }
public int printTypeId { get; set; }
}
public class PrintType
{
public int id { get; set; }
public string name { get; set; } = null!;
}
public class ConnectionType
{
public int id { get; set; }
public string name { get; set; } = null!;
}
public class Item
{
public int id { get; set; }
}
}