This commit is contained in:
FLARJ 2023-04-06 20:31:43 +04:00
commit 507fef5fa1
7 changed files with 27 additions and 6 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

@ -11,9 +11,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\FurnitureContracts\FurnitureContracts.csproj" />
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" /> <ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
<ProjectReference Include="..\FurnitureFactory\FurnitureFactory.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

@ -10,6 +10,7 @@ namespace FurnitureFactoryDataModels.Models
{ {
string Style { get;} string Style { get;}
int Cost { get;} int Cost { get;}
int ManagerID { 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; }
} }
} }