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

16 lines
377 B
C#
Raw Permalink Normal View History

2024-02-06 12:37:25 +04:00
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();
}
}