15 lines
396 B
C#
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 };
|
|
}
|
|
}
|
|
}
|