PIbd-23-Radaev-A.V.-GiftShop/GiftShop/GiftShopContracts/BindingModels/ShopBindingModel.cs

19 lines
564 B
C#
Raw Normal View History

2024-05-18 17:45:21 +04:00
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 string ShopName { get; set; } = string.Empty;
public string ShopAddress { get; set; } = string.Empty;
public DateTime OpeningDate { get; set; } = DateTime.Now;
public Dictionary<int, (IGiftModel, int)> Gifts { get; set; } = new();
public int Id { get; set; }
}
}