PIbd22_Kuznetsov_A.V._Sewin.../SewingDresses/SewingDressesContracts/ViewModels/DressViewModel.cs

16 lines
500 B
C#
Raw Normal View History

2024-05-04 19:41:17 +04:00
using System.ComponentModel;
using SewingDressesDataModels.Models;
namespace SewingDressesContracts.ViewModels
{
public class DressViewModel : IDressModel
{
public int Id { get; set; }
[DisplayName("Название платья")]
public string DressName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> DressComponents { get; set; } = new();
}
}