Gismatullin.ISEbd-21.STO.Co.../ServiceStation/ServiceStationContracts/ViewModels/WorkViewModel.cs
2024-08-22 20:40:32 +04:00

27 lines
637 B
C#

using ServiceStationDataModels.Models;
using System.ComponentModel;
namespace ServiceStationContracts.ViewModels
{
public class WorkViewModel : IWorkModel
{
public int Id { get; set; }
[DisplayName("Дата")]
public DateTime Date { get; set; } = DateTime.Now;
[DisplayName("Цена")]
public double Price { get; set; }
public int ExecutorId { get; set; }
public int TaskId { get; set; }
[DisplayName("Задача")]
public string TaskName { get; set; } = string.Empty;
public Dictionary<int, IClientModel> ClientList { get; set; } = new();
}
}