From 71c7d377c47e81363418b3e9b2fd6b9554227974 Mon Sep 17 00:00:00 2001 From: IlyasValiulov Date: Thu, 14 Nov 2024 00:30:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=B0=D0=B1=D0=B0=201=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CarpentryWorkshop/CarpentryWorkshop/Entities/Product.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CarpentryWorkshop/CarpentryWorkshop/Entities/Product.cs b/CarpentryWorkshop/CarpentryWorkshop/Entities/Product.cs index a67428f..6498a73 100644 --- a/CarpentryWorkshop/CarpentryWorkshop/Entities/Product.cs +++ b/CarpentryWorkshop/CarpentryWorkshop/Entities/Product.cs @@ -7,8 +7,8 @@ public class Product public int Id { get; private set; } public string Name { get; private set; } = string.Empty; public ProductType Type { get; private set; } - public int CountInWarehouse { get; set; } - public IEnumerable ProductMaterial { get; private set; } = []; + public int CountInWarehouse { get; private set; } + public IEnumerable ProductMaterial { get; set; } = []; public static Product CreateEntity(int id, string name, ProductType type, int countInWarehouse, IEnumerable productMaterial) { return new Product