22 lines
715 B
C#
22 lines
715 B
C#
using LawCompanyDataModels.Enums;
|
||
using LawCompanyDataModels.Models;
|
||
using System.ComponentModel;
|
||
|
||
namespace LawCompanyContracts.ViewModels
|
||
{
|
||
public class CaseViewModel : ICaseModel
|
||
{
|
||
public int Id { get; set; }
|
||
[DisplayName("Название")]
|
||
public string Name { get; set; } = string.Empty;
|
||
[DisplayName("Статус")]
|
||
public CaseStatus Status { get; set; } = CaseStatus.Неизвестен;
|
||
[DisplayName("Дата создания")]
|
||
public DateTime DateCreate { get; set; }
|
||
[DisplayName("Дата выполнения")]
|
||
public DateTime? DateImplement { get; set; }
|
||
public Dictionary<int, IClientModel> CaseClients { get; set; } = new();
|
||
public int ExecutorId { get; set; }
|
||
}
|
||
}
|