PIbd-21_Potapov_N.S._Securi.../SecuritySystem/SecuritySystemContracts/ViewModels/SecureViewModel.cs

16 lines
508 B
C#
Raw Normal View History

using SecuritySystemDataModels.Models;
using System.ComponentModel;
namespace SecuritySystemContracts.ViewModels
{
public class SecureViewModel : ISecureModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string SecureName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> SecureComponents { get; set; } = new();
}
}