ISEbd-21_Melnikov_I.O._CarS.../CarService/CarServiceContracts/ViewModels/ItemViewModel.cs

18 lines
458 B
C#
Raw Normal View History

2023-04-01 21:36:28 +04:00
using CarServiceContracts.Models;
using System.ComponentModel;
namespace CarServiceContracts.ViewModels
{
public class ItemViewModel : IItemModel
{
public int Id { get; set; }
[DisplayName("Наименование")]
public string Name { get; set; } = string.Empty;
[DisplayName("Цена")]
public decimal Price { get; set; }
[DisplayName("Количество")]
public int Count { get; set; }
public int WorkerId { get; set; }
}
}