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