Case_accounting/CaseAccounting/CaseAccountingContracts/ViewModels/LawyerViewModel.cs

29 lines
935 B
C#
Raw Normal View History

2023-03-26 20:08:05 +04:00
using CaseAccountingDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaseAccountingContracts.ViewModels
{
public class LawyerViewModel : ILawyerModel
{
[DisplayName("Имя")]
public string Name { get; set; } = string.Empty;
[DisplayName("Фамилия")]
public string Surname { get; set; } = string.Empty;
[DisplayName("Отчество")]
public string Patronymic { get; set; } = string.Empty;
[DisplayName("Опыт работы")]
public int Experience { get; set; }
public int SpecializationId { get; set; }
[DisplayName("Специализация")]
public string Specialization { get; set; } = string.Empty;
2023-04-01 19:39:50 +04:00
public int UserId { get; set; }
public int Id { get; set; }
public Dictionary<int, IContractModel> Contracts { get; set; } = new();
}
2023-03-26 20:08:05 +04:00
}