CourseWork_ServiceStation/ServiceStation/ServiceStationContracts/BindingModels/RepairBindingModel.cs

28 lines
726 B
C#
Raw Normal View History

using ServiceStationDataModels.Enums;
using ServiceStationDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceStationContracts.BindingModels
{
public class RepairBindingModel : IRepairModel
{
public int Id { get; set; }
public string RepairName { get; set; } = string.Empty;
public RepairStatus Status { get; set; } = RepairStatus.Неизвестен;
public double RepairPrice { get; set; }
public int GuarantorId { get; set; }
public int DefectId { get; set; }
public Dictionary<int, ISparePartModel> RepairSpareParts { get; set; } = new();
}
}