PIbd-23-Radaev-A.V.-GiftShop/GiftShop/GiftShopContracts/ViewModels/GiftViewModel.cs
Arkadiy Radaev f31982e59f res1
2024-02-06 12:37:25 +04:00

20 lines
492 B
C#

using GiftShopDataModels.Models;
using System.ComponentModel;
namespace GiftShopContracts.ViewModels
{
public class GiftViewModel : IGiftModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string GiftName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> GiftComponents { get; set; } = new();
}
}