ISEbd_21_Kuklew_M.I._Softwa.../SoftwareInstallationContracts/ViewModels/PackageViewModel.cs

22 lines
572 B
C#
Raw Normal View History

2024-04-07 16:54:02 +04:00
using SoftwareInstallationDataModels.Models;
using System.ComponentModel;
namespace SoftwareInstallationContracts.ViewModels
{
public class PackageViewModel : IPackageModel
{
public int Id { get; set; }
2024-05-12 14:38:32 +04:00
[DisplayName("Название мороженого")]
public string PackageName { get; set; } = string.Empty;
2024-04-07 16:54:02 +04:00
[DisplayName("Цена")]
public double Price { get; set; }
2024-05-12 14:38:32 +04:00
public Dictionary<int, (IComponentModel, int)> PackageComponents
{
get;
set;
} = new();
2024-04-07 16:54:02 +04:00
}
2024-05-12 14:38:32 +04:00
}