CourseWork_CarCenter/CarCenter/CarCenterContracts/ViewModels/InspectionViewModel.cs

27 lines
800 B
C#
Raw Normal View History

2024-04-27 22:39:17 +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 InspectionViewModel : IInspectionModel
{
public int Id { get; set; }
[DisplayName("Название осмотра")]
public string InspectionName { get; set; } = string.Empty;
[DisplayName("Дата осмотра")]
public DateTime? InspectionDate { get; set; }
public int AdministratorId { get; set; }
public int? EmployeeId { get; set; }
public string EmployeeName { get; set; } = string.Empty;
2024-04-27 22:39:17 +04:00
public Dictionary<int, ICarModel> InspectionCars { get; set; } = new();
}
}