PIbd-23-Radaev-A.V.-GiftShop/GiftShop/GiftShopContracts/BindingModels/ShopBindingModel.cs
Arkadiy Radaev d0874b7c11 res 4 hard
2024-05-18 18:05:46 +04:00

20 lines
612 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GiftShopDataModels.Models;
namespace GiftShopContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
public string ShopName { get; set; } = string.Empty;
public string ShopAdress { get; set; } = string.Empty;
public DateTime OpeningDate { get; set; } = DateTime.Now;
public int MaxCapacity { get; set; }
public Dictionary<int, (IGiftModel, int)> ShopGifts { get; set; } = new();
}
}