лаба 1 правка
This commit is contained in:
parent
b2b3f9739a
commit
71c7d377c4
@ -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> ProductMaterial { get; private set; } = [];
|
||||
public int CountInWarehouse { get; private set; }
|
||||
public IEnumerable<ProductMaterial> ProductMaterial { get; set; } = [];
|
||||
public static Product CreateEntity(int id, string name, ProductType type, int countInWarehouse, IEnumerable<ProductMaterial> productMaterial)
|
||||
{
|
||||
return new Product
|
||||
|
Loading…
Reference in New Issue
Block a user