This commit is contained in:
Ismailov_Rovshan 2023-04-05 22:11:43 +04:00
commit 00bad197fa
12 changed files with 54 additions and 11 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,13 @@
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
public class OrdersBindingModel : IOrdersModel
{
public DateTime Date { get; set; } = DateTime.Now;
public string Status { get; set; } = string.Empty;
public int Id { get; set; }
public Dictionary<int, IFurnitureModel> FurnitureId { get; set; }
public Dictionary<int, IHeadsetModel> HeadsetId { 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

@ -10,8 +10,4 @@
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
</ItemGroup>
</Project>

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IFurnitureModel : IId
public interface IFurnitureModel : IId
{
string Name { get;}
string Color { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IHeadsetModel : IId
public interface IHeadsetModel : IId
{
int Cost { get;}
string Size { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IHeadsetModuleModel : IId
public interface IHeadsetModuleModel : IId
{
string Style { get;}
int Cost { get;}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IMaterialModel : IId
public interface IMaterialModel : IId
{
string Name { get; }
string Cost { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IOrdersModel : IId
public interface IOrdersModel : IId
{
DateTime Date { get; }
string Status { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IRoleModel : IId
public interface IRoleModel : IId
{
string Name { get; }
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface ISalesSalonsModel : IId
public interface ISalesSalonsModel : IId
{
string Name { get; }
string Address { get; }