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; }
|
2024-04-28 22:13:42 +04:00
|
|
|
|
|
|
|
|
|
public string EmployeeName { get; set; } = string.Empty;
|
2024-04-27 22:39:17 +04:00
|
|
|
|
public Dictionary<int, ICarModel> InspectionCars { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|