Много мыслей, мало дела
This commit is contained in:
parent
d9a5a16aa7
commit
bf94815370
25
CarShowroom/CarShowroom.sln
Normal file
25
CarShowroom/CarShowroom.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34723.18
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarShowroomContracts", "CarShowroomDataModels\CarShowroomContracts.csproj", "{7EECD77A-5D26-4093-85B0-F2D33C6F0C2C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7EECD77A-5D26-4093-85B0-F2D33C6F0C2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7EECD77A-5D26-4093-85B0-F2D33C6F0C2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7EECD77A-5D26-4093-85B0-F2D33C6F0C2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7EECD77A-5D26-4093-85B0-F2D33C6F0C2C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {8406D607-BDF5-4BC8-9277-6320A4385E56}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
15
CarShowroom/CarShowroomDataModels/AbstractModels/ICar.cs
Normal file
15
CarShowroom/CarShowroomDataModels/AbstractModels/ICar.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using CarShowroomDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomContracts.AbstractModels
|
||||
{
|
||||
public interface ICar : IId
|
||||
{
|
||||
string Color { get; }
|
||||
DateTime RealiseDate { get; }
|
||||
}
|
||||
}
|
15
CarShowroom/CarShowroomDataModels/AbstractModels/IClient.cs
Normal file
15
CarShowroom/CarShowroomDataModels/AbstractModels/IClient.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomDataModels.Models
|
||||
{
|
||||
public interface IClient : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomDataModels.Models
|
||||
{
|
||||
public interface IEmployee : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
13
CarShowroom/CarShowroomDataModels/AbstractModels/IId.cs
Normal file
13
CarShowroom/CarShowroomDataModels/AbstractModels/IId.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomDataModels.Models
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
14
CarShowroom/CarShowroomDataModels/AbstractModels/IMake.cs
Normal file
14
CarShowroom/CarShowroomDataModels/AbstractModels/IMake.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using CarShowroomDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomContracts.AbstractModels
|
||||
{
|
||||
public interface IMake : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
15
CarShowroom/CarShowroomDataModels/AbstractModels/IModel.cs
Normal file
15
CarShowroom/CarShowroomDataModels/AbstractModels/IModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using CarShowroomDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomContracts.AbstractModels
|
||||
{
|
||||
public interface IModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
int Price { get; }
|
||||
}
|
||||
}
|
14
CarShowroom/CarShowroomDataModels/AbstractModels/ISale.cs
Normal file
14
CarShowroom/CarShowroomDataModels/AbstractModels/ISale.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomContracts.AbstractModels
|
||||
{
|
||||
internal interface ISale
|
||||
{
|
||||
DateTime SaleTime { get; }
|
||||
int Cost { get; }
|
||||
}
|
||||
}
|
15
CarShowroom/CarShowroomDataModels/AbstractModels/IService.cs
Normal file
15
CarShowroom/CarShowroomDataModels/AbstractModels/IService.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using CarShowroomDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarShowroomContracts.AbstractModels
|
||||
{
|
||||
public interface IService : IId
|
||||
{
|
||||
string Name { get; }
|
||||
int Cost { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
0
ERD/.car-showroom_2.vpp.lck
Normal file
0
ERD/.car-showroom_2.vpp.lck
Normal file
BIN
ERD/car-showroom_2.vpp
Normal file
BIN
ERD/car-showroom_2.vpp
Normal file
Binary file not shown.
BIN
ERD/car-showroom_2.vpp.bak_000f
Normal file
BIN
ERD/car-showroom_2.vpp.bak_000f
Normal file
Binary file not shown.
BIN
ERD/car-showroom_2.vpp.bak_001d
Normal file
BIN
ERD/car-showroom_2.vpp.bak_001d
Normal file
Binary file not shown.
BIN
ERD/car-showroom_2.vpp.bak_002d
Normal file
BIN
ERD/car-showroom_2.vpp.bak_002d
Normal file
Binary file not shown.
BIN
ERD/car-showroom_2.vpp.bak_003d
Normal file
BIN
ERD/car-showroom_2.vpp.bak_003d
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user