2024-04-30 01:41:35 +03:00

26 lines
732 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;
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();
}
}