PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/ViewModels/ComponentViewModel.cs

19 lines
437 B
C#

using ComputerShopDataModels.Models;
using System.ComponentModel;
namespace ComputerShopContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
public int UserId { get; set; }
[DisplayName("Название комплектующей")]
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Стоимость")]
public double Cost { get; set; }
}
}