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; }
|
2023-04-05 22:15:31 +04:00
|
|
|
|
[DisplayName("Сотрудник")]
|
|
|
|
|
public string WorkerName { get; set; } = string.Empty;
|
2023-04-01 21:36:28 +04:00
|
|
|
|
}
|
|
|
|
|
}
|