PIbd-23-Volkov-N.A.-Compute.../ComputersShop/ComputersShopContracts/BindingModels/ShopBindingModel.cs

20 lines
624 B
C#
Raw Normal View History

2024-02-18 12:22:10 +04:00
using ComputersShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputersShopContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
public string ShopName { get; set; } = string.Empty;
public string ShopAddress { get; set; } = string.Empty;
public DateTime DateOpening { get; set; } = DateTime.Now;
public Dictionary<int, (IComputerModel, int)> Computers { get; set; } = new();
2024-03-18 20:59:24 +04:00
public int Capacity { get; set; }
2024-02-18 12:22:10 +04:00
}
2024-03-18 20:59:24 +04:00
}