Compare commits

..

No commits in common. "b77febffe5fb9d5fa6297fafd5a9f7a40b0acbed" and "9d8ba7153c4e51da8cc5b250fc16f74c64ea5698" have entirely different histories.

12 changed files with 5 additions and 196 deletions

View File

@ -6,4 +6,9 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Folder Include="Enums\" />
<Folder Include="Models\" />
</ItemGroup>
</Project>

View File

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum CarBrand
{
Лада = 0,
Тойота = 1,
Опель = 2,
Митсубиси = 3,
Субару = 4,
Форд = 5,
Лексус = 6,
Шевроле = 7,
}
}

View File

@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum CarClass
{
Седан = 0,
Хетчбек = 1,
Универсал = 2,
Кроссовер = 3,
Внедорожник = 4,
Купе = 5,
Кабриолет = 6,
}
}

View File

@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum DriveTypes
{
Полный = 0,
Передний = 1,
Задний = 2,
}
}

View File

@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum EquipmentPackage
{
УлучшенныеТормоза = 0,
ТурбоНабор = 1,
Компрессор = 2,
ДвигательV12 = 3,
ДвигательV16 = 4,
}
}

View File

@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum HelpDevices
{
ABS = 0,
ECS = 1,
ПодушкиБезопасноти = 2,
GPS = 3,
Магнитола = 4,
}
}

View File

@ -1,16 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum TirePackage
{
ЗимнийШипы = 0,
ЗимнийЛипучка = 1,
Летний = 2,
Демисезон = 3,
}
}

View File

@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Enums
{
public enum ToolKit
{
Чемоданчик = 0,
ЧемоданчикПро = 1,
Наборчик = 2,
НаборчикПро = 3,
ГаечныйНабор = 4,
ОтверточныйНабор = 5,
}
}

View File

@ -1,17 +0,0 @@
using CarCenterDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Models
{
public interface IBundlingModel : IId
{
EquipmentPackage EquipmentPackage { get; }
TirePackage TirePackage { get; }
ToolKit ToolKit { get; }
double Price { get; }
}
}

View File

@ -1,20 +0,0 @@
using CarCenterDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Models
{
public interface ICarModel : IId
{
CarBrand CarBrand { get; }
string Model { get; }
CarClass CarClass { get; }
int Year { get; }
double Price { get; }
int VINnumber { get; }
Dictionary<int, IBundlingModel> CarBundlings { get; }
}
}

View File

@ -1,18 +0,0 @@
using CarCenterDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Models
{
public interface IFeatureModel : IId
{
HelpDevices HelpDevice { get; }
string CabinColor { get; }
DriveTypes DriveType { get; }
double Price { get; }
int CarID { get; }
}
}

View File

@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterDataModels.Models
{
public interface IStorekeeperModel : IId
{
string Name { get; }
string Surname { get; }
string? Patronymic { get; }
string Password { get; }
string Email { get; }
int PhoneNumber { get; }
}
}