PIbd-21_Pyatakov_K.M._Secure/Secure/SecureShopContracts/ViewModels/SecureViewModel.cs

18 lines
531 B
C#
Raw Normal View History

2023-03-06 23:23:24 +04:00
using SecureShopDataModels.Models;
using System.ComponentModel;
namespace SecureShopContracts.ViewModels
{
public class SecureViewModel : ISecureModel
{
public int Id { get; set; }
2023-03-09 08:39:13 +04:00
[DisplayName("Название Сиситемы безопасности")]
2023-03-06 23:23:24 +04:00
public string SecureName { get; set; } = string.Empty;
2023-03-09 08:39:13 +04:00
2023-03-06 23:23:24 +04:00
[DisplayName("Цена")]
public double Price { get; set; }
2023-03-09 08:39:13 +04:00
public Dictionary<int, (IFacilitiesModel, int)> SecureFacilitiess { get; set; } = new();
}
}