CourseWork_CarCenter/CarCenter/CarCenterContracts/ViewModels/InspectionViewModel.cs

25 lines
734 B
C#

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 Dictionary<int, ICarModel> InspectionCars { get; set; } = new();
}
}