2024-02-05 16:40:47 +04:00
|
|
|
|
using SushiBarDataModels.Models;
|
2024-02-05 16:26:35 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
2024-02-05 16:40:47 +04:00
|
|
|
|
namespace SushiBarContracts.ViewModels
|
2024-02-05 16:26:35 +04:00
|
|
|
|
{
|
|
|
|
|
public class ComponentViewModel : IComponentModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Название компонента")]
|
|
|
|
|
public string ComponentName { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Цена")]
|
|
|
|
|
public double Cost { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|