PIbd-21_KozyrevSS_SewingDre.../SewingDresses/SewingDressesContracts/ViewModels/DressViewModel.cs

16 lines
500 B
C#
Raw Normal View History

2024-02-20 16:32:44 +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();
}
}