mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
Сделал модель данных для списка принеров
This commit is contained in:
1 parent
4dfb62e9e8
commit
9cc166e37d
11 files changed
+87
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
namespace CartriX.Shared.Models.Location
|
||||
{
|
||||
public class LocationItem
|
||||
{
|
||||
public string Name { get; set; } = default!;
|
||||
public List<Printer.PrinterItem> Printers { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace CartriX.Shared.Models.Printer
|
||||
{
|
||||
public class PrinterItemList
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public PrinterModelItem Model { get; set; } = default!;
|
||||
public int StatusId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,10 @@
|
||||
/// </summary>
|
||||
public ManufacturerItem Manufacturer { get; set; } = new();
|
||||
/// <summary>
|
||||
/// Путь к картинке
|
||||
/// </summary>
|
||||
public string? PicturePath { get; set; }
|
||||
/// <summary>
|
||||
/// Идентификатор поддерживамого артикля
|
||||
/// </summary>
|
||||
public int SupportedArticleId { get; set; }
|
||||
|
||||
Reference in new issue
Block a user