27 lines
637 B
C#
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();
|
|
}
|
|
}
|