PIbd-22_Bondarenko_M.S._Com.../ComputersShop/ComputersShopContracts/BindingModels/ShopBindingModel.cs
2023-04-08 16:23:25 +04:00

19 lines
543 B
C#

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();
}
}