diff --git a/CartriX.Api/Entities/Article.cs b/CartriX.Api/Entities/Article.cs index 6684678..1f584ff 100644 --- a/CartriX.Api/Entities/Article.cs +++ b/CartriX.Api/Entities/Article.cs @@ -2,10 +2,21 @@ { public class Article { - + /// + /// Идентификатор + /// public int Id { get; set; } + /// + /// Название модели + /// public required string Name { get; set; } + /// + /// Список поддерживаемых принтеров + /// public List SupportedPrinters { get; set; } = default!; + /// + /// Список поддерживаемых картриджей + /// public List SupportedCartridges { get; set; } = default!; } } \ No newline at end of file diff --git a/CartriX.Api/Entities/CartridgeArticle.cs b/CartriX.Api/Entities/CartridgeArticle.cs index 9091ccd..423445e 100644 --- a/CartriX.Api/Entities/CartridgeArticle.cs +++ b/CartriX.Api/Entities/CartridgeArticle.cs @@ -2,5 +2,17 @@ { public class CartridgeArticle { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Список артиклей + /// + public List
Article { get; set; } = default!; + /// + /// Список моделей картриджей + /// + public List CartridgeModel { get; set; } = default!; } } \ No newline at end of file diff --git a/CartriX.Api/Entities/CartridgeStatus.cs b/CartriX.Api/Entities/CartridgeStatus.cs index 7daa445..da725fe 100644 --- a/CartriX.Api/Entities/CartridgeStatus.cs +++ b/CartriX.Api/Entities/CartridgeStatus.cs @@ -2,5 +2,13 @@ { public class CartridgeStatus { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название статуса + /// + public required string Name { get; set; } } } \ No newline at end of file diff --git a/CartriX.Api/Entities/Location.cs b/CartriX.Api/Entities/Location.cs index bfe67ea..5463c87 100644 --- a/CartriX.Api/Entities/Location.cs +++ b/CartriX.Api/Entities/Location.cs @@ -2,5 +2,17 @@ { public class Location { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название местоположения + /// + public required string Name { get; set; } + /// + /// Список принтеров на местоположении + /// + public required List Printers { get; set; } } } \ No newline at end of file diff --git a/CartriX.Api/Entities/Manufacturer.cs b/CartriX.Api/Entities/Manufacturer.cs index 645878e..fff324d 100644 --- a/CartriX.Api/Entities/Manufacturer.cs +++ b/CartriX.Api/Entities/Manufacturer.cs @@ -2,5 +2,17 @@ { public class Manufacturer { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название производителя + /// + public required string Name { get; set; } + /// + /// Путь к изображению производителя + /// + public string? picturePath { get; set; } } } \ No newline at end of file diff --git a/CartriX.Api/Entities/PrinterArticle.cs b/CartriX.Api/Entities/PrinterArticle.cs index 1ccbff9..5c5f175 100644 --- a/CartriX.Api/Entities/PrinterArticle.cs +++ b/CartriX.Api/Entities/PrinterArticle.cs @@ -2,8 +2,17 @@ { public class PrinterArticle { + /// + /// Идентификатор + /// public int Id { get; set; } + /// + /// Список артиклей + /// public List
Article { get; set; } = default!; + /// + /// Список моделей принтера + /// public List PrinterModel { get; set; } = default!; } } \ No newline at end of file diff --git a/CartriX.Api/Entities/PrinterConnetctionType.cs b/CartriX.Api/Entities/PrinterConnetctionType.cs index 8e54322..0fbb4ec 100644 --- a/CartriX.Api/Entities/PrinterConnetctionType.cs +++ b/CartriX.Api/Entities/PrinterConnetctionType.cs @@ -2,5 +2,13 @@ { public class PrinterConnetctionType { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название типа подключения + /// + public required string Name { get; set; } } } \ No newline at end of file diff --git a/CartriX.Api/Entities/PrinterPrintType.cs b/CartriX.Api/Entities/PrinterPrintType.cs index deeee77..64d1dd9 100644 --- a/CartriX.Api/Entities/PrinterPrintType.cs +++ b/CartriX.Api/Entities/PrinterPrintType.cs @@ -2,5 +2,13 @@ { public class PrinterPrintType { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название типа печати принтера + /// + public required string Name { get; set; } } } \ No newline at end of file diff --git a/CartriX.Api/Entities/PrinterStatus.cs b/CartriX.Api/Entities/PrinterStatus.cs index f611c48..a76f7ab 100644 --- a/CartriX.Api/Entities/PrinterStatus.cs +++ b/CartriX.Api/Entities/PrinterStatus.cs @@ -2,5 +2,13 @@ { public class PrinterStatus { + /// + /// Идентификатор + /// + public int Id { get; set; } + /// + /// Название статуса принтера + /// + public required string Name { get; set; } } } \ No newline at end of file