пошла возня
This commit is contained in:
parent
2c93a14992
commit
0281194bc2
9
CarCenter/CarCenter.csproj
Normal file
9
CarCenter/CarCenter.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
31
CarCenter/CarCenter.sln
Normal file
31
CarCenter/CarCenter.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.8.34525.116
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarCenter", "CarCenter.csproj", "{67226823-B581-4EF2-85D9-EF237B3DA3AF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarCenterDataModels", "..\CarCenterDataModels\CarCenterDataModels.csproj", "{5C83F791-9BDF-4EE7-A2F9-E163E9A26613}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{67226823-B581-4EF2-85D9-EF237B3DA3AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{67226823-B581-4EF2-85D9-EF237B3DA3AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{67226823-B581-4EF2-85D9-EF237B3DA3AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{67226823-B581-4EF2-85D9-EF237B3DA3AF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5C83F791-9BDF-4EE7-A2F9-E163E9A26613}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5C83F791-9BDF-4EE7-A2F9-E163E9A26613}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5C83F791-9BDF-4EE7-A2F9-E163E9A26613}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5C83F791-9BDF-4EE7-A2F9-E163E9A26613}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {52326E6A-84CC-4561-AB92-C6D9971A606D}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
7
CarCenter/Class1.cs
Normal file
7
CarCenter/Class1.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace CarCenter
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
9
CarCenterDataModels/CarCenterDataModels.csproj
Normal file
9
CarCenterDataModels/CarCenterDataModels.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
11
CarCenterDataModels/IClientModel.cs
Normal file
11
CarCenterDataModels/IClientModel.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using CarCenterDataModels.HelperInterfaces;
|
||||
|
||||
namespace CarCenterDataModels
|
||||
{
|
||||
public interface IClientModel : IId
|
||||
{
|
||||
int DirectorId { get; }
|
||||
string Name { get; }
|
||||
int Course { get; }
|
||||
}
|
||||
}
|
8
CarCenterDataModels/IDirectorModel.cs
Normal file
8
CarCenterDataModels/IDirectorModel.cs
Normal file
@ -0,0 +1,8 @@
|
||||
using CarCenterDataModels.HelperInterfaces;
|
||||
|
||||
namespace CarCenterDataModels
|
||||
{
|
||||
public interface IDirectorModel : IUser
|
||||
{
|
||||
}
|
||||
}
|
14
CarCenterDataModels/IRequirementModel.cs
Normal file
14
CarCenterDataModels/IRequirementModel.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using CarCenterDataModels.HelperInterfaces;
|
||||
using CarCenterDataModels.ProxyModels;
|
||||
|
||||
namespace CarCenterDataModels
|
||||
{
|
||||
public interface IRequirementModel : IId
|
||||
{
|
||||
int DirectorId { get; }
|
||||
string NameOfRequirement { get; }
|
||||
double Price { get; }
|
||||
|
||||
Dictionary<int, RequirementByCarModel> CarsModels { get; }
|
||||
}
|
||||
}
|
14
CarCenterDataModels/ProxyModels/RequirementByCarModel.cs
Normal file
14
CarCenterDataModels/ProxyModels/RequirementByCarModel.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using CarCenterDataModels.HelperInterfaces;
|
||||
|
||||
namespace CarCenterDataModels.ProxyModels
|
||||
{
|
||||
public class RequirementByCarModel : IId
|
||||
{
|
||||
public virtual int Id { get; set; }
|
||||
|
||||
public virtual int RequirementId { get; set; }
|
||||
public virtual int CarId { get; set; }
|
||||
|
||||
public virtual int Count { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user