CourseWork_ServiceStation/ServiceStation/ServiceStationContracts/BindingModels/WorkBindingModel.cs

28 lines
719 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 WorkBindingModel : IWorkModel
{
public int Id { get; set; }
public string WorkName { get; set; } = string.Empty;
public WorkStatus Status { get; set; } = WorkStatus.Неизвестен;
public double WorkPrice { get; set; }
public int GuarantorId { get; set; }
public int TechnicalWorkId { get; set; }
public Dictionary<int, ISparePartModel> WorkSpareParts { get; set; } = new();
}
}