32 lines
879 B
C#
32 lines
879 B
C#
|
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; }
|
|||
|
|
|||
|
public int GuarantorId { get; }
|
|||
|
|
|||
|
public int DefectId { get; }
|
|||
|
|
|||
|
public Dictionary<int, ISparePartModel> RepairSpareParts { get; set; } = new();
|
|||
|
}
|
|||
|
}
|