PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyContracts/ViewModels/ConsultationViewModel.cs

22 lines
795 B
C#
Raw Normal View History

using LawCompanyDataModels.Models;
using System.ComponentModel;
namespace LawCompanyContracts.ViewModels
{
2024-05-01 23:48:28 +04:00
public class ConsultationViewModel : IConsultationModel
{
[DisplayName("Номер консультации")]
public int Id { get; set; }
[DisplayName("Цена консультации")]
public double Cost { get; set; }
[DisplayName("Дата консультации")]
public DateTime ConsultationDate { get; set; }
[DisplayName("Дело")]
public string CaseName { get; set; } = string.Empty;
public int CaseId { get; set; }
2024-05-02 14:23:30 +04:00
[DisplayName("Имя поручителя")]
public string GuarantorName { get; set; } = string.Empty;
2024-05-01 23:48:28 +04:00
public int GuarantorId { get; set; }
public Dictionary<int, ILawyerModel> ConsultationLawyers { get; set; } = new();
}
}