mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
sadsdf
This commit is contained in:
1 parent
862c335937
commit
d1e5906b7a
32 files changed
+550
-1756
No files matched your search
@@ -3,11 +3,9 @@ namespace CartriX.Api.Models
|
||||
public class Cartridge
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Model { get; set; } = default!;
|
||||
public CartridgeModel Model { get; set; } = default!;
|
||||
public StatusCartridge Status { get; set; } = default!;
|
||||
public List<Printer> SupportPrinterModels { get; set; } = default!;
|
||||
public int Capacity { get; set; }
|
||||
public int? InPrinterId { get; set; }
|
||||
public Printer? InPrinter { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CartriX.Api.Models
|
||||
{
|
||||
public class CartridgeModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
@@ -4,10 +4,11 @@ namespace CartriX.Api.Models
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string PrinterName { get; set; } = default!;
|
||||
public PrinterModel Model { get; set; } = default!;
|
||||
public PrinterConnectionType PrinterConnectionType { get; set; } = default!;
|
||||
public string? PrinterUsedPagesOID { get; set; }
|
||||
public StatusPrinter Status { get; set; } = default!;
|
||||
public List<Cartridge> SupportCartridgeModels { get; set; } = default!;
|
||||
public List<CartridgeModel> SupportCartridgeModels { get; set; } = default!;
|
||||
public string? IpAddress { get; set; } = default!;
|
||||
// In One Printer can be some Cartridges, for example: Color Printers
|
||||
public List<Cartridge> CartridgesHave { get; set; } = default!;
|
||||
|
||||
File renamed without changes.
@@ -9,6 +9,6 @@ namespace CartriX.Api.Models
|
||||
public class PrinterModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string { get; set; }
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.AccessControl;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CartriX.Api.Models
|
||||
{
|
||||
public class SupportPrinterCartridges
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public PrinterModel PrinterModel { get; set; } = default!;
|
||||
public CartridgeModel CartridgeModel { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user