Binding Models
This commit is contained in:
parent
086dca513c
commit
2daa654cb6
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user