PIbd-23_Sergunov_M.A._GiftShop/GiftShop/GiftShopContracts/BindingModels/GiftBindingModel.cs

16 lines
377 B
C#

using GiftShopDataModels.Models;
namespace GiftShopContracts.BindingModels
{
public class GiftBindingModel : IGiftModel
{
public int Id { get; set; }
public string GiftName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> GiftComponents { get; set; } = new();
}
}