mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
42 lines
1.3 KiB
C#
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; }
|
|
|
|
}
|
|
}
|