PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/ViewModels/ComponentViewModel.cs

15 lines
417 B
C#
Raw Normal View History

2024-02-28 01:32:56 +04:00
using PizzeriaDataModels.Models;
using System.ComponentModel;
namespace PizzeriaContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
2024-03-11 00:29:19 +04:00
[DisplayName("Название ингредиента")]
2024-02-28 01:32:56 +04:00
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
}
}