ClientBindingModel

This commit is contained in:
shadowik 2023-04-01 08:24:54 +04:00
parent b69a7b813d
commit 8fb804b229
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="BusinessLogicsContacts\" />
<Folder Include="SearchModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BankYouBankruptDataModels\BankYouBankruptDataModels.csproj" />
</ItemGroup>
</Project>

View File

@ -7,7 +7,6 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="BusinessLogicsContacts\" /> <Folder Include="BusinessLogicsContacts\" />
<Folder Include="SearchModels\" /> <Folder Include="SearchModels\" />
<Folder Include="StoragesContracts\" /> <Folder Include="StoragesContracts\" />

View File

@ -0,0 +1,26 @@
using BankYouBankruptDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
public class ClientBindingModel : IСlientModel
{
public int Id { get; set; }
public string Password { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public string Surname { get; set; } = string.Empty;
public string Patronymic { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string Telephone { get; set; } = string.Empty;
}
}