Тотальный слив сущностей #9
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum CarBrand
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Лада = 0,
|
||||
Тойота = 1,
|
||||
Опель = 2,
|
||||
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum CarClass
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Седан = 0,
|
||||
Хетчбек = 1,
|
||||
Универсал = 2,
|
||||
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum DriveTypes
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Полный = 0,
|
||||
Передний = 1,
|
||||
Задний = 2,
|
||||
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum EquipmentPackage
|
||||
{
|
||||
Неизвестно = -1,
|
||||
УлучшенныеТормоза = 0,
|
||||
ТурбоНабор = 1,
|
||||
Компрессор = 2,
|
||||
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum HelpDevices
|
||||
{
|
||||
Неизвестно = -1,
|
||||
ABS = 0,
|
||||
ECS = 1,
|
||||
ПодушкиБезопасноти = 2,
|
||||
|
15
CarCenter/CarCenterDataModels/Enums/PaymentStatus.cs
Normal file
15
CarCenter/CarCenterDataModels/Enums/PaymentStatus.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.Enums
|
||||
{
|
||||
public enum PaymentStatus
|
||||
{
|
||||
Неизвестно = -1,
|
||||
ОжидаетОплаты = 0,
|
||||
Оплачено = 1,
|
||||
}
|
||||
}
|
15
CarCenter/CarCenterDataModels/Enums/PaymentType.cs
Normal file
15
CarCenter/CarCenterDataModels/Enums/PaymentType.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.Enums
|
||||
{
|
||||
public enum PaymentType
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Безналичная = 0,
|
||||
Наличные = 1,
|
||||
}
|
||||
}
|
15
CarCenter/CarCenterDataModels/Enums/PresaleStatus.cs
Normal file
15
CarCenter/CarCenterDataModels/Enums/PresaleStatus.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.Enums
|
||||
{
|
||||
public enum PresaleStatus
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Выполняется = 0,
|
||||
Выполнено = 1
|
||||
}
|
||||
}
|
14
CarCenter/CarCenterDataModels/Enums/RequestTypes.cs
Normal file
14
CarCenter/CarCenterDataModels/Enums/RequestTypes.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum RequestTypes
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Интерьер = 0
|
||||
}
|
||||
}
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum TirePackage
|
||||
{
|
||||
Неизвестно = -1,
|
||||
ЗимнийШипы = 0,
|
||||
ЗимнийЛипучка = 1,
|
||||
Летний = 2,
|
||||
|
@ -8,6 +8,7 @@ namespace CarCenterDataModels.Enums
|
||||
{
|
||||
public enum ToolKit
|
||||
{
|
||||
Неизвестно = -1,
|
||||
Чемоданчик = 0,
|
||||
ЧемоданчикПро = 1,
|
||||
Наборчик = 2,
|
||||
|
23
CarCenter/CarCenterDataModels/Models/IOrderModel.cs
Normal file
23
CarCenter/CarCenterDataModels/Models/IOrderModel.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IOrderModel : IId
|
||||
{
|
||||
PaymentType PaymentType { get; }
|
||||
|
||||
PaymentStatus PaymentStatus { get; }
|
||||
|
||||
string BuyerFCS { get; }
|
||||
|
||||
DateTime PaymentDate { get; }
|
||||
|
||||
double Sum { get; }
|
||||
|
||||
}
|
||||
}
|
21
CarCenter/CarCenterDataModels/Models/IPresaleModel.cs
Normal file
21
CarCenter/CarCenterDataModels/Models/IPresaleModel.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IPresaleModel : IId
|
||||
{
|
||||
PresaleStatus PresaleStatus { get; }
|
||||
|
||||
string Description { get; }
|
||||
|
||||
DateTime DueTill { get; }
|
||||
|
||||
double Price { get; }
|
||||
|
||||
}
|
||||
}
|
16
CarCenter/CarCenterDataModels/Models/IRequestModel.cs
Normal file
16
CarCenter/CarCenterDataModels/Models/IRequestModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IRequestModel : IId
|
||||
{
|
||||
string Description { get; }
|
||||
|
||||
RequestTypes RequestType { get; }
|
||||
}
|
||||
}
|
19
CarCenter/CarCenterDataModels/Models/IWorkerModel.cs
Normal file
19
CarCenter/CarCenterDataModels/Models/IWorkerModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterDataModels.Models
|
||||
{
|
||||
public interface IWorkerModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Surname { get; }
|
||||
string? Patronymic { get; }
|
||||
string Password { get; }
|
||||
string Email { get; }
|
||||
long PhoneNumber { get; }
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user