stage5_models_and_storages_contracts_lena #2

Merged
ekallin merged 11 commits from stage5_models_and_storages_contracts_lena into stage5_models_and_storages_contracts 2024-04-27 10:36:38 +04:00
5 changed files with 70 additions and 1 deletions
Showing only changes of commit 6e7d7a8dfd - Show all commits

View File

@ -0,0 +1,16 @@
using PolyclinicDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class MedicamentBindingModel : IMedicament
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,16 @@
using PolyclinicDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class ProcedureBindingModel : IProcedure
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,16 @@
using PolyclinicDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class RecieptBindingModel : IReciept
{
public int Id { get; set; }
public int CountProcedures { get; set; }
public string Comment { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,18 @@
using PolyclinicDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class SuretorBindingModel : ISuretor
{
public int Id { get; set; }
public string FIO { get; set; } = string.Empty;
public DateTime BirthDay { get; set; }
public string Password { get; set; } = "123";
public string RepeatPassword { get; set; } = "123";
}
}

View File

@ -7,11 +7,14 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="SearchModels\" />
<Folder Include="ViewModels\" />
<Folder Include="BusinessLogicsContracts\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PolyclinicDataModels\PolyclinicDataModels.csproj" />
</ItemGroup>
</Project>