PIbd-23_Zargarov_M.A._Cours.../CarCenter/CarCenterContracts/ViewModels/CarViewModel.cs

25 lines
797 B
C#
Raw Normal View History

2023-04-08 12:47:51 +04:00
using CarCenterDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.ViewModels
{
public class CarViewModel : ICarModel
{
[DisplayName("Номер машины")]
public int Id { get; set; }
[DisplayName("Название машины")]
public String Name { get; set; }
2023-04-09 13:59:29 +04:00
public Dictionary<int, IPresaleModel> PresaleCars { get; set; } = new();
public Dictionary<int, IConfigurationModel> ConfigurationCars { get; set; } = new();
2023-04-08 12:47:51 +04:00
public int EmployeeId { get; set; }
[DisplayName("ФИО работника")]
public string EmployeeName { get; set; } = string.Empty;
}
}