29 lines
702 B
C#
Raw Normal View History

2024-08-10 18:43:15 +04:00
using ServiceStationDataModels.Models;
2024-04-30 01:41:35 +03:00
using System.ComponentModel;
2024-08-26 19:12:46 +04:00
using System.Text.Json.Serialization;
2024-04-30 01:41:35 +03:00
namespace ServiceStationContracts.ViewModels
{
public class WorkViewModel : IWorkModel
{
2024-08-10 18:43:15 +04:00
public int Id { get; set; }
[DisplayName("Дата")]
2024-04-30 01:41:35 +03:00
public DateTime Date { get; set; } = DateTime.Now;
2024-08-10 18:43:15 +04:00
2024-04-30 01:41:35 +03:00
[DisplayName("Цена")]
public double Price { get; set; }
2024-04-30 01:41:35 +03:00
public int ExecutorId { get; set; }
2024-08-23 19:44:26 +04:00
public int TaskByWorkId { get; set; }
2024-04-30 01:41:35 +03:00
2024-08-22 20:40:32 +04:00
[DisplayName("Задача")]
public string TaskName { get; set; } = string.Empty;
2024-08-26 19:12:46 +04:00
[JsonIgnore]
2024-08-10 18:43:15 +04:00
public Dictionary<int, IClientModel> ClientList { get; set; } = new();
}
2024-04-30 01:41:35 +03:00
}