PIbd-22_Fedorenko_Puchkina_.../LawFim/LawFirmContracts/ViewModels/ConsultationViewModel.cs

21 lines
762 B
C#

using LawFimDataModels.Models;
using System.ComponentModel;
namespace LawFirmContracts.ViewModels
{
public class ConsultationViewModel : IConsultationModel
{
[DisplayName("Номер консультации")]
public int Id { get; set; }
[DisplayName("Цена консультации")]
public double Cost { get; set; }
[DisplayName("Дело")]
public string CaseName { get; set; } = string.Empty;
public int CaseId { get; set; }
[DisplayName("Имя поручителя")]
public string GuarantorName { get; set; } = string.Empty;
public int GuarantorId { get; set; }
public Dictionary<int, ILawyerModel> ConsultationLawyers { get; set; } = new();
}
}