Много мыслей, мало дела

This commit is contained in:
Zakharov_Rostislav 2024-05-01 22:07:16 +04:00
parent d9a5a16aa7
commit bf94815370
16 changed files with 150 additions and 0 deletions

View 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

View 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; }
}
}

View 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; }
}
}

View 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 IEmployee : IId
{
string Name { get; }
string Email { get; }
string Password { get; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

BIN
ERD/car-showroom_2.vpp Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.