2024-04-27 16:16:58 +04:00
|
|
|
|
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 RepairViewModel : IRepairModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Наименование ремонта")]
|
|
|
|
|
public string RepairName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Статус ремонта")]
|
|
|
|
|
public RepairStatus Status { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Стоимость ремонта")]
|
|
|
|
|
public double RepairPrice { get; set; }
|
|
|
|
|
|
2024-04-27 19:12:43 +04:00
|
|
|
|
public int GuarantorId { get; set; }
|
2024-04-27 16:16:58 +04:00
|
|
|
|
|
2024-04-27 19:12:43 +04:00
|
|
|
|
public int DefectId { get; set; }
|
2024-04-27 16:16:58 +04:00
|
|
|
|
|
|
|
|
|
public Dictionary<int, ISparePartModel> RepairSpareParts { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|