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

23 lines
638 B
C#
Raw Normal View History

2024-04-07 16:54:02 +04:00
using SoftwareInstallationDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoftwareInstallationContracts.ViewModels
{
public class PackageViewModel : IPackageModel
{
public int Id { get; set; }
2024-05-12 14:45:39 +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:45:39 +04:00
public Dictionary<int, (IComponentModel, int)> PackageComponents { get; set; } = new();
2024-04-07 16:54:02 +04:00
}
2024-05-12 14:45:39 +04:00
}