16 lines
508 B
C#
16 lines
508 B
C#
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();
|
|
}
|
|
}
|