создала модели
This commit is contained in:
parent
ba75c2e410
commit
46b1357fa3
CarCenter
@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.7.34031.279
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarCenterView", "CarCenterView\CarCenterView.csproj", "{33FB84BE-4026-4B3E-92C5-CAE3BE4DFF25}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CarCenterView", "CarCenterView\CarCenterView.csproj", "{33FB84BE-4026-4B3E-92C5-CAE3BE4DFF25}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarCenterDataModels", "CarCenterDataModels\CarCenterDataModels.csproj", "{F4F98E8B-8BF9-451B-9FC8-FE00D74001CD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -15,6 +17,10 @@ Global
|
||||
{33FB84BE-4026-4B3E-92C5-CAE3BE4DFF25}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{33FB84BE-4026-4B3E-92C5-CAE3BE4DFF25}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{33FB84BE-4026-4B3E-92C5-CAE3BE4DFF25}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F4F98E8B-8BF9-451B-9FC8-FE00D74001CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F4F98E8B-8BF9-451B-9FC8-FE00D74001CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F4F98E8B-8BF9-451B-9FC8-FE00D74001CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F4F98E8B-8BF9-451B-9FC8-FE00D74001CD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
9
CarCenter/CarCenterDataModels/CarCenterDataModels.csproj
Normal file
9
CarCenter/CarCenterDataModels/CarCenterDataModels.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
7
CarCenter/CarCenterDataModels/IId.cs
Normal file
7
CarCenter/CarCenterDataModels/IId.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace CarCenterDataModels
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
17
CarCenter/CarCenterDataModels/Models/IAdministratorModel.cs
Normal file
17
CarCenter/CarCenterDataModels/Models/IAdministratorModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IAdministratorModel : IId
|
||||
{
|
||||
string AdministratorFIO { get; }
|
||||
string AdministratorNumber { get; }
|
||||
string AdministratorLogin { get; }
|
||||
string AdministratorEmail { get; }
|
||||
string AdministratorPassword { get; }
|
||||
}
|
||||
}
|
15
CarCenter/CarCenterDataModels/Models/ICarModel.cs
Normal file
15
CarCenter/CarCenterDataModels/Models/ICarModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface ICarModel : IId
|
||||
{
|
||||
string BrandCar { get; }
|
||||
string Model { get; }
|
||||
int AdministratorId { get; }
|
||||
}
|
||||
}
|
17
CarCenter/CarCenterDataModels/Models/IEquipmentModel.cs
Normal file
17
CarCenter/CarCenterDataModels/Models/IEquipmentModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IEquipmentModel : IId
|
||||
{
|
||||
string EquipmentName { get; }
|
||||
string EquipmentDate { get; }
|
||||
int AdministratorId { get; }
|
||||
int? PreSaleWorkId { get; }
|
||||
public Dictionary<int, ICarModel> EquipmentCars { get; }
|
||||
}
|
||||
}
|
17
CarCenter/CarCenterDataModels/Models/IInspectionModel.cs
Normal file
17
CarCenter/CarCenterDataModels/Models/IInspectionModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IInspectionModel : IId
|
||||
{
|
||||
string InspectionName { get; }
|
||||
string InspectionDate { get; }
|
||||
int AdministratorId { get; }
|
||||
int? EmployeeId { get; }
|
||||
public Dictionary<int, ICarModel> InspectionCars { get; }
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user