CourseWork_ServiceStation/ServiceStation/ServiceStationContracts/ViewModels/TechnicalWorkViewModel.cs

24 lines
702 B
C#
Raw Normal View History

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("Дата последнего ТО")]
public DateTime DateLastWork { get; set; } = DateTime.Now;
[DisplayName("Цена ТО")]
public double WorkPrice { get; set; }
public int ExecutorId { get; set; }
}
}