Pibd-22_Presnyakova.V.V_Jew.../JewelryStoreContracts/ViewModels/JewelViewModel.cs
2023-05-02 14:50:43 +04:00

24 lines
566 B
C#

using JewelryStoreDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JewelryStoreContracts.ViewModels
{
public class JewelViewModel : IJewelModel
{
public int Id { get; set; }
public string JewelName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> JewelComponents
{
get;
set;
} = new();
}
}