PIbd-22_Aleksankina_V.S._Co.../Confectionery/ConfectioneryContracts/ViewModels/ComponentViewModel.cs

21 lines
584 B
C#
Raw Permalink Normal View History

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