PIbd-22_Razzhivin_A.S._Gift.../GiftShop/GiftShopContracts/BindingModels/GiftBindingModel.cs
2023-04-30 02:34:19 +04:00

23 lines
531 B
C#

using GiftShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}