Files
ISEbd-21_Savelyev.P.Y._Proj…/ProjectSellPC/ProjectSellPC/Entites/Warehouse.cs
2024-12-20 09:27:19 +04:00

15 lines
396 B
C#

namespace ProjectSellPC.Entites
{
public class Warehouse
{
public int Id { get; set; }
public int Size { get; set; } // Вместимость
public string Adress { get; set; }
public static Warehouse CreateEntity(int id, int size, string adress)
{
return new Warehouse { Id = id, Size = size, Adress = adress };
}
}
}