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

19 lines
437 B
C#
Raw Normal View History

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