diff --git a/FurnitureAssembly/DataModels/DataModels.csproj b/FurnitureAssembly/DataModels/DataModels.csproj deleted file mode 100644 index 132c02c..0000000 --- a/FurnitureAssembly/DataModels/DataModels.csproj +++ /dev/null @@ -1,9 +0,0 @@ - - - - net6.0 - enable - enable - - - diff --git a/FurnitureAssembly/DataModels/Enums/PaymentType.cs b/FurnitureAssembly/DataModels/Enums/PaymentType.cs deleted file mode 100644 index 1ab5819..0000000 --- a/FurnitureAssembly/DataModels/Enums/PaymentType.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Enums -{ - public enum PaymentType - { - Неизвестен = -1, - Наличными = 0, - Картой = 1, - Смешанный = 2 - } -} diff --git a/FurnitureAssembly/DataModels/IId.cs b/FurnitureAssembly/DataModels/IId.cs deleted file mode 100644 index d2520b9..0000000 --- a/FurnitureAssembly/DataModels/IId.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels -{ - public interface IId - { - int Id { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IFurnitureModel.cs b/FurnitureAssembly/DataModels/Models/IFurnitureModel.cs deleted file mode 100644 index 2923468..0000000 --- a/FurnitureAssembly/DataModels/Models/IFurnitureModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IFurnitureModel : IId - { - string Name { get; } - double Cost { get; } - DateTime DateCreate { get; } - Dictionary FurnitureMaterials { get; } - int UserId { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IFurnitureModuleModel.cs b/FurnitureAssembly/DataModels/Models/IFurnitureModuleModel.cs deleted file mode 100644 index a155673..0000000 --- a/FurnitureAssembly/DataModels/Models/IFurnitureModuleModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IFurnitureModuleModel : IId - { - string Name { get; } - double Cost { get; } - DateTime DateCreate { get; } - int UserId { get; } - Dictionary FurnitureModuleFurnitures { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IMaterialModel.cs b/FurnitureAssembly/DataModels/Models/IMaterialModel.cs deleted file mode 100644 index 0d5c146..0000000 --- a/FurnitureAssembly/DataModels/Models/IMaterialModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using static System.Formats.Asn1.AsnWriter; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IMaterialModel : IId - { - string Name { get; } - double Cost { get; } - int ScopeId { get; } - int UserId { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IOrderModel.cs b/FurnitureAssembly/DataModels/Models/IOrderModel.cs deleted file mode 100644 index da65247..0000000 --- a/FurnitureAssembly/DataModels/Models/IOrderModel.cs +++ /dev/null @@ -1,19 +0,0 @@ -using FurnitureAssembly_WorkerDataModels.Enums; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IOrderModel : IId - { - string CustomerName { get; } - PaymentType PaymentType { get; } - int SetId { get; } - int UserId { get; } - double Sum { get; } - DateTime DateCreate { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IRoleModel.cs b/FurnitureAssembly/DataModels/Models/IRoleModel.cs deleted file mode 100644 index 0670727..0000000 --- a/FurnitureAssembly/DataModels/Models/IRoleModel.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IRoleModel : IId - { - string Name { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IScopeModel.cs b/FurnitureAssembly/DataModels/Models/IScopeModel.cs deleted file mode 100644 index 2508bb6..0000000 --- a/FurnitureAssembly/DataModels/Models/IScopeModel.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IScopeModel : IId - { - string Name { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/ISetModel.cs b/FurnitureAssembly/DataModels/Models/ISetModel.cs deleted file mode 100644 index 28544b4..0000000 --- a/FurnitureAssembly/DataModels/Models/ISetModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface ISetModel : IId - { - string Name { get; } - double Cost { get; } - DateTime DateCreate { get; } - int UserId { get; } - Dictionary SetFurnitureModules { get; } - } -} diff --git a/FurnitureAssembly/DataModels/Models/IUserModel.cs b/FurnitureAssembly/DataModels/Models/IUserModel.cs deleted file mode 100644 index e1865e5..0000000 --- a/FurnitureAssembly/DataModels/Models/IUserModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace FurnitureAssembly_WorkerDataModels.Models -{ - public interface IUserModel : IId - { - string Login { get; } - string Password { get; } - string Name { get; } - int RoleId { get; } - } -}