This commit is contained in:
Ismailov_Rovshan 2023-04-06 19:49:28 +04:00
parent 4452263b26
commit 31f4fd39e7
7 changed files with 30 additions and 4 deletions

View File

@ -13,7 +13,7 @@ namespace FurnitureContracts.BindingModels
public int Cost { get; set; } public int Cost { get; set; }
public int userID { get; set; } public int UserID { get; set; }
public int Id { get; set; } public int Id { get; set; }
} }

View File

@ -16,7 +16,7 @@ namespace FurnitureContracts.ViewModel
[DisplayName("Цена")] [DisplayName("Цена")]
public int Cost { get; set; } public int Cost { get; set; }
public int userID { get; set; } public int UserID { get; set; }
public int Id { get; set; } public int Id { get; set; }
} }

View File

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

View File

@ -0,0 +1,21 @@
using FurnitureFactoryDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureDataBaseImplement.Models
{
public class Material : 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

@ -11,6 +11,7 @@ namespace FurnitureFactoryDataModels.Models
string Name { get;} string Name { get;}
string Color { get; } string Color { get; }
string Type { get; } string Type { get; }
int UserID { get; }
public Dictionary<int, IMaterialModel> FurnitureMaterial { get; } public Dictionary<int, IMaterialModel> FurnitureMaterial { get; }
} }
} }

View File

@ -11,5 +11,6 @@ namespace FurnitureFactoryDataModels.Models
string Style { get;} string Style { get;}
int Cost { get;} int Cost { get;}
int UserID { get;} int UserID { get;}
public Dictionary<int, IMaterialModel> HeadsetModuleMaterial { get; }
} }
} }

View File

@ -10,6 +10,6 @@ namespace FurnitureFactoryDataModels.Models
{ {
string Name { get; } string Name { get; }
int Cost { get; } int Cost { get; }
int userID { get; } int UserID { get; }
} }
} }