2024-04-30 01:41:35 +03:00
|
|
|
|
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; }
|
|
|
|
|
|
2024-08-03 19:12:18 +04:00
|
|
|
|
public int ID { get; set; }
|
2024-04-30 01:41:35 +03:00
|
|
|
|
public Dictionary<int, (ICategoryWorkModel, int)> CategoryWorkList { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|