mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 13:00:55 +00:00
Обновил модель базы данных
Слегка изменил сущности Добавил страницу в Web Сделал компонент с карточками для принетров
This commit is contained in:
1 parent
9cc166e37d
commit
24adf91ad9
16 files changed
+788
-21
No files matched your search
@@ -24,12 +24,10 @@ namespace CartriX.Api.Controllers.Cartridge
|
||||
};
|
||||
public static Shared.Models.Printer.PrinterItemList ToItemList(this Entities.Printer printer) => new()
|
||||
{
|
||||
Id = printer.Id,
|
||||
Name = printer.Name,
|
||||
Model = printer.Model.ToItem(),
|
||||
StatusId = printer.Status.Name,
|
||||
ConnetctionTypeName = printer.ConnetctionType.Name,
|
||||
InstalledCartridgeId = printer.InstalledCartridge.Id,
|
||||
LocationName = printer.Location.Name,
|
||||
StatusId = printer.StatusId
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user