Binding
This commit is contained in:
parent
9afd35f1a4
commit
2fda39d8cc
@ -0,0 +1,22 @@
|
||||
using FurnitureFactoryDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureContracts.BindingModels
|
||||
{
|
||||
public class FurnitureBindingModel : IFurnitureModel
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Color { get; set; } = string.Empty;
|
||||
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
public Dictionary<int, IMaterialModel> FurnitureMaterial { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using FurnitureFactoryDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureContracts.BindingModels
|
||||
{
|
||||
internal class HeadsetModuleModel : IHeadsetModuleModel
|
||||
{
|
||||
public string Style { get; set; } = string.Empty;
|
||||
|
||||
public int Cost { get; set; }
|
||||
|
||||
public int UserID { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using FurnitureFactoryDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureContracts.BindingModels
|
||||
{
|
||||
internal class MaterialBindingModel : IMaterialModel
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public int Cost { get; set; }
|
||||
|
||||
public int userID { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -9,7 +9,7 @@ namespace FurnitureFactoryDataModels.Models
|
||||
public interface IMaterialModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Cost { get; }
|
||||
int Cost { get; }
|
||||
int userID { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user