26 lines
732 B
C#
26 lines
732 B
C#
|
using ServiceStationDataModels;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
|
|||
|
namespace ServiceStationContracts.ViewModels
|
|||
|
{
|
|||
|
public class WorkViewModel : IWorkModel
|
|||
|
{
|
|||
|
[DisplayName("Дата")]
|
|||
|
public DateTime Date { get; set; } = DateTime.Now;
|
|||
|
[DisplayName("Цена")]
|
|||
|
public int Price { get; set; }
|
|||
|
[DisplayName("Статус")]
|
|||
|
public WorkStatus Status { get; set; } = WorkStatus.Неизвестно;
|
|||
|
|
|||
|
public int ExecutorId { get; set; }
|
|||
|
|
|||
|
public int ReportId { get; set; }
|
|||
|
|
|||
|
public int CategoryWorkId { get; set; }
|
|||
|
|
|||
|
public int Id { get; set; }
|
|||
|
public Dictionary<int, (ICategoryWorkModel, int)> CategoryWorkList { get; set; } = new();
|
|||
|
}
|
|||
|
}
|