CourseWork_ServiceStation/ServiceStation/ServiceStationContracts/ViewModels/DefectViewModel.cs

27 lines
729 B
C#
Raw Normal View History

using ServiceStationDataModels.Enums;
using ServiceStationDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceStationContracts.ViewModels
{
public class DefectViewModel : IDefectModel
{
public int Id { get; set; }
[DisplayName("Тип неисправности")]
public string DefectType { get; set; } = string.Empty;
2024-04-17 16:38:34 +04:00
[DisplayName("Цена неисправности")]
public double DefectPrice { get; set; }
public int ExecutorId { get; set; }
public Dictionary<int, ICarModel> DefectCars { get; set; } = new();
}
}