2024-04-17 15:10:57 +04:00
|
|
|
|
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 TechnicalWorkViewModel : ITechnicalWorkModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Тип ТО")]
|
|
|
|
|
public string WorkType { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Дата последнего ТО")]
|
2024-04-22 00:15:10 +04:00
|
|
|
|
public DateTime? DateStartWork { get; set; } = DateTime.Now;
|
2024-04-17 15:10:57 +04:00
|
|
|
|
[DisplayName("Цена ТО")]
|
|
|
|
|
public double WorkPrice { get; set; }
|
|
|
|
|
|
|
|
|
|
public int ExecutorId { get; set; }
|
2024-04-22 00:15:10 +04:00
|
|
|
|
|
|
|
|
|
public Dictionary<int, ICarModel> TechnicalWorkCars { get; set; } = new();
|
2024-04-28 21:27:37 +04:00
|
|
|
|
|
|
|
|
|
public int? WorkId { get; set; }
|
2024-04-17 15:10:57 +04:00
|
|
|
|
}
|
|
|
|
|
}
|