Compare commits

..

No commits in common. "a071f504d24352edd7f752e7f1803fbc78722334" and "e9185fa7dc3e9faec596dad1c5902bff7a45678f" have entirely different histories.

7 changed files with 5 additions and 69 deletions

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
@ -6,8 +6,4 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\HospitalDataModels\HospitalDataModels.csproj" />
</ItemGroup>
</Project>

View File

@ -1,29 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalContracts.ViewModels
{
public 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; }
}
}

View File

@ -1,31 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HospitalDataModels.Models;
namespace HospitalContracts.ViewModels
{
public class PatientViewModel
{
public int Id { get; set; }
[DisplayName("ФИО")]
string FIO { get; }
[DisplayName("Дата рождения")]
DateOnly BirthDate { get; }
[DisplayName("Адрес")]
string Adress { get; }
public int DoctorId { get; set; }
public Dictionary<int, IProcedureModel> PatientProcedures { get; set; } = new();
public Dictionary<int, IRecipeModel> PatientRecipes { get; set; } = new();
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace HospitalDataModels.Models
{
public interface IMedicineModel : IId
internal interface IMedicineModel : IId
{
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace HospitalDataModels.Models
{
public interface IPatientModel : IId
internal interface IPatientModel : IId
{
string FIO { get; }
DateOnly BirthDate { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace HospitalDataModels.Models
{
public interface IProcedureModel : IId
internal interface IProcedureModel : IId
{
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace HospitalDataModels.Models
{
public interface IRecipeModel : IId
internal interface IRecipeModel : IId
{
string Description { get; }
DateTime IssueDate { get; }