mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Сделал список OID адресов, добавил миграцию бд при запуске программы
This commit is contained in:
1 parent
48e625819a
commit
bd426d2647
35 files changed
+927
-46
No files matched your search
@@ -35,6 +35,7 @@ namespace CartriX.Shared.Classes
|
||||
public static class Location
|
||||
{
|
||||
public static string List => $"api/{nameof(Location)}/{nameof(List)}";
|
||||
public static string ListPrinters(int LocationId) => $"api/{nameof(Location)}/{nameof(ListPrinters)}?{nameof(LocationId)}={LocationId}";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,8 @@
|
||||
{
|
||||
public class LocationItem
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = default!;
|
||||
public List<Printer.PrinterItemList> Printers { get; set; } = default!;
|
||||
}
|
||||
public byte CountPrinters { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public PrinterModelItem Model { get; set; } = default!;
|
||||
public string ModelName { get; set; } = default!;
|
||||
public int StatusId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user