Binding Models

This commit is contained in:
FLARJ 2023-04-05 21:52:54 +04:00
parent 086dca513c
commit 2daa654cb6
4 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,12 @@
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
public class HeadsetBindingModel : IHeadsetModel
{
public string Size { get; set; } = string.Empty;
public int Cost { get; set; }
public int Id { get; set; }
public Dictionary<int, IHeadsetModuleModel> HeadsetModuleId { get; set; }
}
}

View File

@ -0,0 +1,10 @@
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
public class RoleBindingModel : IRoleModel
{
public string Name { get; set; } = string.Empty;
public int Id { get; set; }
}
}

View File

@ -0,0 +1,12 @@
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
public class SalesSalonsBindingModel : ISalesSalonsModel
{
public string Name { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public Dictionary<int, IOrdersModel> OrdersId { get; set; }
public int Id { get; set; }
}
}

View File

@ -6,10 +6,6 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" /> <ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
</ItemGroup> </ItemGroup>