+
This commit is contained in:
commit
00bad197fa
@ -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,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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
@ -10,8 +10,4 @@
|
||||
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="BindingModels\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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;}
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureFactoryDataModels.Models
|
||||
{
|
||||
internal interface IRoleModel : IId
|
||||
public interface IRoleModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user