diff --git a/CarShowroom/CarShowroom.sln b/CarShowroom/CarShowroom.sln new file mode 100644 index 0000000..123fe79 --- /dev/null +++ b/CarShowroom/CarShowroom.sln @@ -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 diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/ICar.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/ICar.cs new file mode 100644 index 0000000..1ff39fe --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/ICar.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IClient.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IClient.cs new file mode 100644 index 0000000..8f298d2 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IClient.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IEmployee.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IEmployee.cs new file mode 100644 index 0000000..ee4cf34 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IEmployee.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IId.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IId.cs new file mode 100644 index 0000000..d4e0c96 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IId.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IMake.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IMake.cs new file mode 100644 index 0000000..0240dbb --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IMake.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IModel.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IModel.cs new file mode 100644 index 0000000..5445b49 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IModel.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/ISale.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/ISale.cs new file mode 100644 index 0000000..f9c97a8 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/ISale.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/AbstractModels/IService.cs b/CarShowroom/CarShowroomDataModels/AbstractModels/IService.cs new file mode 100644 index 0000000..36dc180 --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/AbstractModels/IService.cs @@ -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; } + } +} diff --git a/CarShowroom/CarShowroomDataModels/CarShowroomContracts.csproj b/CarShowroom/CarShowroomDataModels/CarShowroomContracts.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/CarShowroom/CarShowroomDataModels/CarShowroomContracts.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/ERD/.car-showroom_2.vpp.lck b/ERD/.car-showroom_2.vpp.lck new file mode 100644 index 0000000..e69de29 diff --git a/ERD/car-showroom_2.vpp b/ERD/car-showroom_2.vpp new file mode 100644 index 0000000..105f441 Binary files /dev/null and b/ERD/car-showroom_2.vpp differ diff --git a/ERD/car-showroom_2.vpp.bak_000f b/ERD/car-showroom_2.vpp.bak_000f new file mode 100644 index 0000000..83cd9f5 Binary files /dev/null and b/ERD/car-showroom_2.vpp.bak_000f differ diff --git a/ERD/car-showroom_2.vpp.bak_001d b/ERD/car-showroom_2.vpp.bak_001d new file mode 100644 index 0000000..d5a12c7 Binary files /dev/null and b/ERD/car-showroom_2.vpp.bak_001d differ diff --git a/ERD/car-showroom_2.vpp.bak_002d b/ERD/car-showroom_2.vpp.bak_002d new file mode 100644 index 0000000..bb276ed Binary files /dev/null and b/ERD/car-showroom_2.vpp.bak_002d differ diff --git a/ERD/car-showroom_2.vpp.bak_003d b/ERD/car-showroom_2.vpp.bak_003d new file mode 100644 index 0000000..9427fcb Binary files /dev/null and b/ERD/car-showroom_2.vpp.bak_003d differ