This commit is contained in:
Sergey Kozyrev 2024-04-03 13:23:32 +04:00
parent 70cbc9d0fb
commit a4ede33acb
6 changed files with 40 additions and 1 deletions

View File

@ -6,4 +6,12 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="BusinessLogicsContracts\" />
<Folder Include="SearchModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="ViewModels\" />
</ItemGroup>
</Project>

View File

@ -3,5 +3,6 @@
public interface IId
{
int Id { get; }
int UserId { get; }
}
}

View File

@ -1,6 +1,8 @@
namespace DataModels.Models
{
public interface IDetailModel
public interface IDetailModel : IId
{
string Name { get; }
double Cost { get; }
}
}

View File

@ -0,0 +1,8 @@
namespace DataModels.Models
{
public interface IProductModel : IId
{
string Name { get; }
double Cost { get; }
}
}

View File

@ -0,0 +1,8 @@
namespace DataModels.Models
{
public interface IProductionModel : IId
{
string Name { get; }
double Cost { get; }
}
}

View File

@ -0,0 +1,12 @@
namespace DataModels.Models
{
public interface IUserModel
{
int Id { get; }
string Email { get; }
string Name { get; }
string Login { get; }
string Password { get; }
}
}