16 lines
377 B
C#
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();
|
|
}
|
|
}
|