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; }
|
|
|
|
|
}
|
|
|
|
|
}
|