From fa0258b99c4b2e29e222ab244eb808c94ac317c6 Mon Sep 17 00:00:00 2001 From: ValAn Date: Fri, 12 Apr 2024 23:38:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B5=D0=B4=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE=D0=BA=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HospitalContracts.csproj | 2 +- .../ViewModels/DoctorViewModel.cs | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Hospital/HospitalContracts/ViewModels/DoctorViewModel.cs diff --git a/Hospital/HospitalContracts/HospitalContracts.csproj b/Hospital/HospitalContracts/HospitalContracts.csproj index 132c02c..27ac386 100644 --- a/Hospital/HospitalContracts/HospitalContracts.csproj +++ b/Hospital/HospitalContracts/HospitalContracts.csproj @@ -1,4 +1,4 @@ - + net6.0 diff --git a/Hospital/HospitalContracts/ViewModels/DoctorViewModel.cs b/Hospital/HospitalContracts/ViewModels/DoctorViewModel.cs new file mode 100644 index 0000000..d1bdf2e --- /dev/null +++ b/Hospital/HospitalContracts/ViewModels/DoctorViewModel.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HospitalContracts.ViewModels +{ + internal class DoctorViewModel + { + public int Id { get; set; } + + [DisplayName("ФИО")] + string FIO { get; } + + [DisplayName("Логин")] + string Login { get; } + + [DisplayName("Пароль")] + string Password { get; } + + [DisplayName("Электронная почта")] + string MailAddress { get; } + + [DisplayName("Номер телефона")] + string PhoneNumber { get; } + } +}