This commit is contained in:
Ismailov_Rovshan 2023-04-05 22:22:20 +04:00
parent 9afd35f1a4
commit 2fda39d8cc
4 changed files with 63 additions and 1 deletions

View File

@ -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; }
}
}

View File

@ -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; }
}
}

View File

@ -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; }
}
}

View File

@ -9,7 +9,7 @@ namespace FurnitureFactoryDataModels.Models
public interface IMaterialModel : IId public interface IMaterialModel : IId
{ {
string Name { get; } string Name { get; }
string Cost { get; } int Cost { get; }
int userID { get; } int userID { get; }
} }
} }