2024-04-23 22:29:39 +04:00
|
|
|
|
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; }
|
2024-04-23 22:29:39 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Название комплектующей")]
|
2024-04-25 00:58:28 +04:00
|
|
|
|
public string ComponentName { get; set; } = string.Empty;
|
2024-04-23 22:29:39 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Стоимость")]
|
2024-04-25 00:58:28 +04:00
|
|
|
|
public double Cost { get; set; }
|
2024-04-23 22:29:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|