PIbd-22_Tsukanova_I.V._IceC.../IceCreamShop/IceCreamShopContracts/ViewModels/ComponentViewModel.cs

21 lines
548 B
C#
Raw Normal View History

2023-01-29 22:09:46 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AbstractIceCreamShopDataModels.Models;
using System.ComponentModel;
namespace IceCreamShopContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
[DisplayName("Название компонента")]
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
}
}